_raw:
ParentIdentity="710fbc59-b84b-4897-9b0c-d270cdf48ce9"
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="54c7419e-cb05-49c5-bc32-3cf50dcd1569"
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"

source: Powershell


_raw:
ParentIdentity="54c7419e-cb05-49c5-bc32-3cf50dcd1569"
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="54c7419e-cb05-49c5-bc32-3cf50dcd1569"
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="2e4200fe-37bc-4e47-bad7-e9db819b0356"
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="2e4200fe-37bc-4e47-bad7-e9db819b0356"
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="2e4200fe-37bc-4e47-bad7-e9db819b0356"
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="96ec80b4-0db5-49d0-aff6-7bdb7a867c03"
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="96ec80b4-0db5-49d0-aff6-7bdb7a867c03"
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="96ec80b4-0db5-49d0-aff6-7bdb7a867c03"
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="6e5beaae-666f-487e-8476-a2ac907dcc2b"
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="6e5beaae-666f-487e-8476-a2ac907dcc2b"
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="c77d9385-13fe-43bd-a966-9fd31f7f8830"
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="6e5beaae-666f-487e-8476-a2ac907dcc2b"
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="c77d9385-13fe-43bd-a966-9fd31f7f8830"
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="c77d9385-13fe-43bd-a966-9fd31f7f8830"
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="9d6d0e61-3bc5-4ca2-ae12-f6f3af3aca3f"
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="9d6d0e61-3bc5-4ca2-ae12-f6f3af3aca3f"
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="9d6d0e61-3bc5-4ca2-ae12-f6f3af3aca3f"
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="87b67562-6889-4f03-8d32-f875e8ffe367"
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="87b67562-6889-4f03-8d32-f875e8ffe367"
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="87b67562-6889-4f03-8d32-f875e8ffe367"
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="9fdc8052-126d-4ff1-90d3-774206f70887"
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.954"


_raw:
Identity="20b6ddba-72ee-4e99-8b6b-ffa00fe7d7f3"
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="20b6ddba-72ee-4e99-8b6b-ffa00fe7d7f3"
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="20b6ddba-72ee-4e99-8b6b-ffa00fe7d7f3"
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="022a4a7c-a892-4785-bfa1-c26cc8001800"
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="022a4a7c-a892-4785-bfa1-c26cc8001800"
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="022a4a7c-a892-4785-bfa1-c26cc8001800"
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="88b9d79e-dc97-4f5f-b3d5-9b8901ab76d7"
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="88b9d79e-dc97-4f5f-b3d5-9b8901ab76d7"
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="88b9d79e-dc97-4f5f-b3d5-9b8901ab76d7"
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="d188ff5f-0d49-413f-ad86-510a27ccaf75"
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="d188ff5f-0d49-413f-ad86-510a27ccaf75"
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="d188ff5f-0d49-413f-ad86-510a27ccaf75"
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="6d53fedf-d7c0-4644-94d6-b13f002a52c9"
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.012"


_raw:
ParentIdentity="6d53fedf-d7c0-4644-94d6-b13f002a52c9"
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="6d53fedf-d7c0-4644-94d6-b13f002a52c9"
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="f7e369a2-d30a-431e-aeab-155176bc3eef"
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="f7e369a2-d30a-431e-aeab-155176bc3eef"
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="f7e369a2-d30a-431e-aeab-155176bc3eef"
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="3b5a6e0a-c740-48cb-9ece-ea3b5839792b"
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="3b5a6e0a-c740-48cb-9ece-ea3b5839792b"
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="3b5a6e0a-c740-48cb-9ece-ea3b5839792b"
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="be3563a7-fe0f-4a10-a1ac-6b7b0d135de9"
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.012"


_raw:
ParentIdentity="be3563a7-fe0f-4a10-a1ac-6b7b0d135de9"
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="be3563a7-fe0f-4a10-a1ac-6b7b0d135de9"
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="2da1dba2-5c85-4054-8df1-d632577b64d7"
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="2da1dba2-5c85-4054-8df1-d632577b64d7"
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="2da1dba2-5c85-4054-8df1-d632577b64d7"
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="366e724e-5b2b-42d2-8297-7aa7afb50b6f"
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.416"


_raw:
Identity="01733182-54c4-4568-aa45-d6f56931c92d"
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.187"


_raw:
ParentIdentity="01733182-54c4-4568-aa45-d6f56931c92d"
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="01733182-54c4-4568-aa45-d6f56931c92d"
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="5da1bec1-66e3-4098-8d00-35dbd17f39ce"
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="5da1bec1-66e3-4098-8d00-35dbd17f39ce"
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="5da1bec1-66e3-4098-8d00-35dbd17f39ce"
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="2ea079aa-e75c-4010-8996-937583e40b93"
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.023"


_raw:
ParentIdentity="2ea079aa-e75c-4010-8996-937583e40b93"
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="2ea079aa-e75c-4010-8996-937583e40b93"
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="b34e31d3-d22d-4b33-aa88-0217786bfaaa"
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.095"


_raw:
ParentIdentity="b34e31d3-d22d-4b33-aa88-0217786bfaaa"
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="b34e31d3-d22d-4b33-aa88-0217786bfaaa"
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="c33a80bb-dcb0-4a9f-9e1e-e3f635956d79"
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="c33a80bb-dcb0-4a9f-9e1e-e3f635956d79"
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="c33a80bb-dcb0-4a9f-9e1e-e3f635956d79"
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="a539e3b8-8e94-47bc-a1d6-94666ddb9a45"
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="a539e3b8-8e94-47bc-a1d6-94666ddb9a45"
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="a539e3b8-8e94-47bc-a1d6-94666ddb9a45"
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="2de591eb-4812-4af3-a28f-4f2fc682b6a0"
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="2de591eb-4812-4af3-a28f-4f2fc682b6a0"
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="2de591eb-4812-4af3-a28f-4f2fc682b6a0"
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="8c5ac412-f780-4557-95bb-c911fb6de387"
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="8c5ac412-f780-4557-95bb-c911fb6de387"
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="8c5ac412-f780-4557-95bb-c911fb6de387"
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="ffc16bcf-12e0-45c3-8a72-90e7fdd6fdc2"
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="ffc16bcf-12e0-45c3-8a72-90e7fdd6fdc2"
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="ffc16bcf-12e0-45c3-8a72-90e7fdd6fdc2"
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="04a8c807-53b0-4c69-b5b6-fe0ce5b0ccb1"
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.984"


_raw:
Identity="90ba646d-4032-48db-954d-910c812acf16"
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="90ba646d-4032-48db-954d-910c812acf16"
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="90ba646d-4032-48db-954d-910c812acf16"
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="739959e5-e769-4553-be52-2dda07b048ee"
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="739959e5-e769-4553-be52-2dda07b048ee"
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="9fdff3e1-d08c-4aac-8ab5-3a3eec749ae9"
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="739959e5-e769-4553-be52-2dda07b048ee"
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."