_raw:
ParentIdentity="c7c5455c-9b4e-4dee-865a-208aacc407b1"
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="593a6b66-a643-4218-98a8-0b911a7271f6"
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"

source: Powershell


_raw:
Identity="c4d3303e-ddfa-4b88-b5c1-82c7e276a4ad"
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="593a6b66-a643-4218-98a8-0b911a7271f6"
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="c4d3303e-ddfa-4b88-b5c1-82c7e276a4ad"
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="593a6b66-a643-4218-98a8-0b911a7271f6"
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="c4d3303e-ddfa-4b88-b5c1-82c7e276a4ad"
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="063ee3af-e18b-4b83-817f-a634882c3905"
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="063ee3af-e18b-4b83-817f-a634882c3905"
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="063ee3af-e18b-4b83-817f-a634882c3905"
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="27a1174e-c42f-4666-845d-1764c2e5603e"
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.024"


_raw:
ParentIdentity="27a1174e-c42f-4666-845d-1764c2e5603e"
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="27a1174e-c42f-4666-845d-1764c2e5603e"
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="243794ab-16b9-40b0-988e-01abe666d1f4"
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="243794ab-16b9-40b0-988e-01abe666d1f4"
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="243794ab-16b9-40b0-988e-01abe666d1f4"
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="da456077-5338-4171-b363-b4c3c098678c"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="False"
ErrorCount="0"
Elapsed="00:00:03.166"


_raw:
Identity="26b0ab73-7540-4b24-82cb-395d9607a2bf"
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="26b0ab73-7540-4b24-82cb-395d9607a2bf"
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="26b0ab73-7540-4b24-82cb-395d9607a2bf"
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="d7dea7c8-1e53-4d0e-a6bc-d8eb4c25f9aa"
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.115"


_raw:
ParentIdentity="d7dea7c8-1e53-4d0e-a6bc-d8eb4c25f9aa"
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="d7dea7c8-1e53-4d0e-a6bc-d8eb4c25f9aa"
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="5e092669-c6bd-46f3-911f-5e36aea2d0dd"
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="5e092669-c6bd-46f3-911f-5e36aea2d0dd"
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="5e092669-c6bd-46f3-911f-5e36aea2d0dd"
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="042503df-df4d-4f75-8fb0-341f24b757cd"
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="042503df-df4d-4f75-8fb0-341f24b757cd"
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="042503df-df4d-4f75-8fb0-341f24b757cd"
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="9d56062e-7bb6-4be8-a8d9-ee05fd0bc8fe"
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="9d56062e-7bb6-4be8-a8d9-ee05fd0bc8fe"
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="9d56062e-7bb6-4be8-a8d9-ee05fd0bc8fe"
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="47f323c4-a495-4722-a332-960a5b21eb4d"
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:
Identity="98becb57-537b-44fa-9702-bc9dccc99c00"
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="47f323c4-a495-4722-a332-960a5b21eb4d"
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="98becb57-537b-44fa-9702-bc9dccc99c00"
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="47f323c4-a495-4722-a332-960a5b21eb4d"
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="98becb57-537b-44fa-9702-bc9dccc99c00"
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="9f2e000a-faf8-4310-a3f5-db5c327862a5"
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="9f2e000a-faf8-4310-a3f5-db5c327862a5"
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="9f2e000a-faf8-4310-a3f5-db5c327862a5"
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="be578a83-8742-45d4-af43-7975ebcad4ab"
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="be578a83-8742-45d4-af43-7975ebcad4ab"
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="be578a83-8742-45d4-af43-7975ebcad4ab"
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="754d2eb0-4c66-404e-ac6c-5dca4fec3546"
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.427"


_raw:
Identity="89b10bcf-921e-4f84-9697-2895bff6e75c"
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.174"


_raw:
ParentIdentity="89b10bcf-921e-4f84-9697-2895bff6e75c"
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="89b10bcf-921e-4f84-9697-2895bff6e75c"
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="e78fb00b-8f1e-4a34-b5b8-60d61731a41a"
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:
Identity="5e60e783-87ef-4617-abc5-2a9d5b6d95a3"
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="e78fb00b-8f1e-4a34-b5b8-60d61731a41a"
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="5e60e783-87ef-4617-abc5-2a9d5b6d95a3"
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="e78fb00b-8f1e-4a34-b5b8-60d61731a41a"
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="5e60e783-87ef-4617-abc5-2a9d5b6d95a3"
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="4811bbfb-c7df-4949-b116-3f2b49a01b18"
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:
Identity="011ff16d-79d0-4611-bea0-0252f4b45dfe"
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="4811bbfb-c7df-4949-b116-3f2b49a01b18"
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="011ff16d-79d0-4611-bea0-0252f4b45dfe"
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="4811bbfb-c7df-4949-b116-3f2b49a01b18"
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="011ff16d-79d0-4611-bea0-0252f4b45dfe"
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="9431e70d-2da1-4599-8b52-888dc46d14e7"
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="9431e70d-2da1-4599-8b52-888dc46d14e7"
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="9431e70d-2da1-4599-8b52-888dc46d14e7"
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="f4c974dc-c7f8-44a3-b7ff-b3e218520735"
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.021"


_raw:
ParentIdentity="f4c974dc-c7f8-44a3-b7ff-b3e218520735"
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="f4c974dc-c7f8-44a3-b7ff-b3e218520735"
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="1444584d-dd98-41e4-9907-de3d33110433"
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="1444584d-dd98-41e4-9907-de3d33110433"
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="1444584d-dd98-41e4-9907-de3d33110433"
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="17c011b0-2b1c-432c-9ceb-4b4646da1d8e"
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="17c011b0-2b1c-432c-9ceb-4b4646da1d8e"
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="17c011b0-2b1c-432c-9ceb-4b4646da1d8e"
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="15f4acdd-5872-42c3-887b-b25d153bb45a"
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.677"


_raw:
Identity="5fd8ea19-9056-452a-9a5d-4dc4f0f09941"
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="5fd8ea19-9056-452a-9a5d-4dc4f0f09941"
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="5fd8ea19-9056-452a-9a5d-4dc4f0f09941"
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="726fe458-3210-4682-b8ee-ce010f17b0c8"
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="726fe458-3210-4682-b8ee-ce010f17b0c8"
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="726fe458-3210-4682-b8ee-ce010f17b0c8"
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="6578a98b-3948-4527-b41b-5ef91fa1409c"
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="6578a98b-3948-4527-b41b-5ef91fa1409c"
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="6578a98b-3948-4527-b41b-5ef91fa1409c"
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="ab02c3e4-765d-4af1-839c-706eb1d56a6a"
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="ab02c3e4-765d-4af1-839c-706eb1d56a6a"
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="5cf628ba-06c7-44b4-8353-a2e43d4e752d"
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="ab02c3e4-765d-4af1-839c-706eb1d56a6a"
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."