_raw:
ParentIdentity="c769238b-0e74-442c-9b57-00785bfa6b43"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="1086b715-aea2-401a-872f-16b27a3b5fca"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.150"

source: Powershell


_raw:
ParentIdentity="1086b715-aea2-401a-872f-16b27a3b5fca"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="1086b715-aea2-401a-872f-16b27a3b5fca"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="df17cc1e-6491-48e9-aa0f-8a2c3449d4b3"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.017"


_raw:
ParentIdentity="df17cc1e-6491-48e9-aa0f-8a2c3449d4b3"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="df17cc1e-6491-48e9-aa0f-8a2c3449d4b3"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="139ca022-27dd-4e50-b6d7-bedd7919be8a"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.014"


_raw:
ParentIdentity="139ca022-27dd-4e50-b6d7-bedd7919be8a"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="139ca022-27dd-4e50-b6d7-bedd7919be8a"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="533abe9a-da5b-411a-8f91-905b7da99791"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.015"


_raw:
ParentIdentity="533abe9a-da5b-411a-8f91-905b7da99791"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="533abe9a-da5b-411a-8f91-905b7da99791"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="600ebe75-cd4d-43bd-bb6e-a46106a7819a"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.013"


_raw:
ParentIdentity="600ebe75-cd4d-43bd-bb6e-a46106a7819a"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
Identity="149ade00-56dd-47b5-b71c-fdfd115597c2"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.014"


_raw:
ParentIdentity="600ebe75-cd4d-43bd-bb6e-a46106a7819a"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
ParentIdentity="149ade00-56dd-47b5-b71c-fdfd115597c2"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
Identity="25e81aee-c8a3-4e11-a724-6aa902de944c"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.026"


_raw:
ParentIdentity="149ade00-56dd-47b5-b71c-fdfd115597c2"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
ParentIdentity="25e81aee-c8a3-4e11-a724-6aa902de944c"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="25e81aee-c8a3-4e11-a724-6aa902de944c"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="d229e1fc-9e49-45dc-9781-00b91b2f5402"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.013"


_raw:
ParentIdentity="d229e1fc-9e49-45dc-9781-00b91b2f5402"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="d229e1fc-9e49-45dc-9781-00b91b2f5402"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="7204d420-9007-4b2f-99b6-38de9b072b89"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="False"
ErrorCount="0"
Elapsed="00:00:03.551"


_raw:
Identity="87fb928e-ba26-41fe-83cc-eebe87561c52"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.015"


_raw:
ParentIdentity="87fb928e-ba26-41fe-83cc-eebe87561c52"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="87fb928e-ba26-41fe-83cc-eebe87561c52"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="9106e3ec-cd69-4bc5-8716-4240cce9b72f"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.015"


_raw:
ParentIdentity="9106e3ec-cd69-4bc5-8716-4240cce9b72f"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="9106e3ec-cd69-4bc5-8716-4240cce9b72f"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="03e94c50-e85a-4a7b-9ba8-2fb2a54fe13d"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.015"


_raw:
ParentIdentity="03e94c50-e85a-4a7b-9ba8-2fb2a54fe13d"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="03e94c50-e85a-4a7b-9ba8-2fb2a54fe13d"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="7b1186ae-b8c7-48db-81af-e853cbf57d2f"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.014"


_raw:
ParentIdentity="7b1186ae-b8c7-48db-81af-e853cbf57d2f"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="7b1186ae-b8c7-48db-81af-e853cbf57d2f"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="2348843d-991b-4c41-b27b-608e53a3d5cd"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.014"


_raw:
ParentIdentity="2348843d-991b-4c41-b27b-608e53a3d5cd"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="2348843d-991b-4c41-b27b-608e53a3d5cd"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="0ee7e415-1afa-4111-b9df-2eaec83a85d2"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.016"


_raw:
ParentIdentity="0ee7e415-1afa-4111-b9df-2eaec83a85d2"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="0ee7e415-1afa-4111-b9df-2eaec83a85d2"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="dc703b62-623b-4cf4-81c7-4d955402c631"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.019"


_raw:
ParentIdentity="dc703b62-623b-4cf4-81c7-4d955402c631"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="dc703b62-623b-4cf4-81c7-4d955402c631"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="96cf47cf-37ea-461f-bf58-ab1e92559c72"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.018"


_raw:
ParentIdentity="96cf47cf-37ea-461f-bf58-ab1e92559c72"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="96cf47cf-37ea-461f-bf58-ab1e92559c72"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="6e2354b4-fe5f-4590-8e32-58fcc9fb8410"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.020"


_raw:
ParentIdentity="6e2354b4-fe5f-4590-8e32-58fcc9fb8410"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="6e2354b4-fe5f-4590-8e32-58fcc9fb8410"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="ad874ec2-0930-4f2f-8cad-52d7c37f1092"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="False"
ErrorCount="0"
Elapsed="00:00:02.402"


_raw:
Identity="884f3762-2ac1-433a-a58c-e64a4e92b11f"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.147"


_raw:
ParentIdentity="884f3762-2ac1-433a-a58c-e64a4e92b11f"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="884f3762-2ac1-433a-a58c-e64a4e92b11f"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="47e1df59-5b53-413e-a231-0524cf7eba35"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.020"


_raw:
ParentIdentity="47e1df59-5b53-413e-a231-0524cf7eba35"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="47e1df59-5b53-413e-a231-0524cf7eba35"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="7fd9d1e4-eb68-41fd-a8d8-deeaa9908418"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.015"


_raw:
ParentIdentity="7fd9d1e4-eb68-41fd-a8d8-deeaa9908418"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="7fd9d1e4-eb68-41fd-a8d8-deeaa9908418"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="f44c72ee-3260-4c50-b611-40d22ce53379"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.014"


_raw:
ParentIdentity="f44c72ee-3260-4c50-b611-40d22ce53379"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="f44c72ee-3260-4c50-b611-40d22ce53379"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="dc11df15-e17f-4d89-b427-5a6ff27d59e6"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.016"


_raw:
ParentIdentity="dc11df15-e17f-4d89-b427-5a6ff27d59e6"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="dc11df15-e17f-4d89-b427-5a6ff27d59e6"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="9b2c8051-3aea-4f58-980f-286742ea625c"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.016"


_raw:
ParentIdentity="9b2c8051-3aea-4f58-980f-286742ea625c"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="9b2c8051-3aea-4f58-980f-286742ea625c"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="f50cf376-9c29-4954-a9f0-866946088ea3"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.014"


_raw:
ParentIdentity="f50cf376-9c29-4954-a9f0-866946088ea3"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="f50cf376-9c29-4954-a9f0-866946088ea3"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="9635ee58-a748-42b1-abca-bae90f0d1d02"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.016"


_raw:
ParentIdentity="9635ee58-a748-42b1-abca-bae90f0d1d02"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="9635ee58-a748-42b1-abca-bae90f0d1d02"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="c01db1aa-12fd-44ef-95a4-aa8f5d45b4a6"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.027"


_raw:
ParentIdentity="c01db1aa-12fd-44ef-95a4-aa8f5d45b4a6"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="c01db1aa-12fd-44ef-95a4-aa8f5d45b4a6"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="886c2381-d445-4f4b-b10e-da12ca723da2"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="False"
ErrorCount="0"
Elapsed="00:00:02.827"


_raw:
Identity="ea9ea276-f2db-4518-9ac6-59233c5521a4"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.192"


_raw:
ParentIdentity="ea9ea276-f2db-4518-9ac6-59233c5521a4"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:3 char:1
+ Get-ADReplicationPartnerMetaData -Target $env:ComputerName -PartnerTy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADReplicationPartnerMetaData:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADReplicationPartnerMetaData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at <ScriptBlock>(Closure , FunctionContext )
   at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
   at System.Management.Automation.ScriptBlock.<>c__DisplayClass57_0.<InvokeWithPipe>b__0()
   at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThreadCheck(Action action)
   at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Boolean propagateAllExceptionsToTop, List`1 variablesToDefine, Dictionary`2 functionsToDefine, Object[] args)
   at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Object[] args)
   at Microsoft.PowerShell.Commands.InvokeExpressionCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()"


_raw:
ParentIdentity="ea9ea276-f2db-4518-9ac6-59233c5521a4"
ErrorIndex="1"
ErrorMessage="The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."
PositionMessage="At C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\bin\powershell\2012r2-repl-stats.ps1:1 char:1
+ Import-Module ActiveDirectory -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException"
FullyQualifiedErrorId="Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"
Exception="System.IO.FileNotFoundException: The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory."


_raw:
Identity="cea64251-2272-41fe-bb2f-7a8eeee54bad"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.015"