_raw:
ParentIdentity="08897f39-ea8f-4fc9-a245-3098ba1f21e0"
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="aac81a0e-2eb3-4be0-a6ef-0d00250542dd"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.016"

source: Powershell


_raw:
ParentIdentity="aac81a0e-2eb3-4be0-a6ef-0d00250542dd"
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="aac81a0e-2eb3-4be0-a6ef-0d00250542dd"
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="1e82440d-05c2-4436-9c7d-4a30d30f96dc"
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="1e82440d-05c2-4436-9c7d-4a30d30f96dc"
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="1e82440d-05c2-4436-9c7d-4a30d30f96dc"
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="e1dd60b5-1506-43f6-a1cf-0a12c6293a32"
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.366"


_raw:
Identity="651ed2a7-9a55-4bab-973f-e40874c320f2"
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="651ed2a7-9a55-4bab-973f-e40874c320f2"
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="651ed2a7-9a55-4bab-973f-e40874c320f2"
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="059043e1-470d-4637-bdf9-f20fb6f80422"
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="059043e1-470d-4637-bdf9-f20fb6f80422"
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="059043e1-470d-4637-bdf9-f20fb6f80422"
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="ca374376-25af-4766-9672-fe481ec26d6d"
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="ca374376-25af-4766-9672-fe481ec26d6d"
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="ca374376-25af-4766-9672-fe481ec26d6d"
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="5cb3a30d-49ec-4ebc-a0d6-d99a3e539b18"
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="08034449-e19d-4a90-80c9-5b9d879d6564"
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="5cb3a30d-49ec-4ebc-a0d6-d99a3e539b18"
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="08034449-e19d-4a90-80c9-5b9d879d6564"
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="5cb3a30d-49ec-4ebc-a0d6-d99a3e539b18"
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="08034449-e19d-4a90-80c9-5b9d879d6564"
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="c499eb94-a754-4405-9c1b-bff0a1ec4fd2"
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="c499eb94-a754-4405-9c1b-bff0a1ec4fd2"
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="a7cefa0c-719c-428a-8038-c7da8d009d45"
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="c499eb94-a754-4405-9c1b-bff0a1ec4fd2"
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="a7cefa0c-719c-428a-8038-c7da8d009d45"
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="6bd4a5a8-1817-4551-907e-075ec308c19b"
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="a7cefa0c-719c-428a-8038-c7da8d009d45"
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="6bd4a5a8-1817-4551-907e-075ec308c19b"
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="6bd4a5a8-1817-4551-907e-075ec308c19b"
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="00611903-e08e-45bf-ace6-00532236ec17"
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="00611903-e08e-45bf-ace6-00532236ec17"
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="00611903-e08e-45bf-ace6-00532236ec17"
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="b40d4ab6-543c-4a59-9d22-4d83db6c9be0"
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.432"


_raw:
Identity="e86b68e8-99ad-44cc-85dd-7f63684c8846"
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.158"


_raw:
ParentIdentity="e86b68e8-99ad-44cc-85dd-7f63684c8846"
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="e86b68e8-99ad-44cc-85dd-7f63684c8846"
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="1e84db31-4e43-4b5d-b32a-1c2a62fe3c4d"
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="1e84db31-4e43-4b5d-b32a-1c2a62fe3c4d"
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="1e84db31-4e43-4b5d-b32a-1c2a62fe3c4d"
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="4014597d-66c7-45d5-84fe-8cd5761c3ac6"
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.109"


_raw:
ParentIdentity="4014597d-66c7-45d5-84fe-8cd5761c3ac6"
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="4014597d-66c7-45d5-84fe-8cd5761c3ac6"
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="3df2ec0a-2ec6-4ed9-842a-0b95a116b200"
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="3df2ec0a-2ec6-4ed9-842a-0b95a116b200"
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="3df2ec0a-2ec6-4ed9-842a-0b95a116b200"
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="b38fa9c7-b45b-400f-9ae1-897eab79cdd7"
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="b38fa9c7-b45b-400f-9ae1-897eab79cdd7"
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="b38fa9c7-b45b-400f-9ae1-897eab79cdd7"
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="74ac2e1b-b3df-44b4-ab7b-be68e66f2473"
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="74ac2e1b-b3df-44b4-ab7b-be68e66f2473"
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="774e8e87-e710-46e4-896e-b83583929462"
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="74ac2e1b-b3df-44b4-ab7b-be68e66f2473"
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="774e8e87-e710-46e4-896e-b83583929462"
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="774e8e87-e710-46e4-896e-b83583929462"
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="226f834f-ec73-40e0-9ded-dbfa306da7e4"
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="226f834f-ec73-40e0-9ded-dbfa306da7e4"
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="226f834f-ec73-40e0-9ded-dbfa306da7e4"
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="ca14d095-1da5-4670-960c-c961676d4acf"
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="ca14d095-1da5-4670-960c-c961676d4acf"
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="ca14d095-1da5-4670-960c-c961676d4acf"
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="d8e46691-79b8-4f79-a6bd-1184358c834e"
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.613"


_raw:
Identity="71fc3684-ebb0-4ad3-8ed6-6cd3f1fae3c2"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.018"


_raw:
ParentIdentity="71fc3684-ebb0-4ad3-8ed6-6cd3f1fae3c2"
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="71fc3684-ebb0-4ad3-8ed6-6cd3f1fae3c2"
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="8f6292be-df58-484e-b7d4-84d0d4a26154"
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="8f6292be-df58-484e-b7d4-84d0d4a26154"
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="8f6292be-df58-484e-b7d4-84d0d4a26154"
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="6e0bd8a4-fb9d-45ec-9818-9361362de03c"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.018"


_raw:
ParentIdentity="6e0bd8a4-fb9d-45ec-9818-9361362de03c"
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="6e0bd8a4-fb9d-45ec-9818-9361362de03c"
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="72e052ed-087c-48b6-b42c-c44c63f8312f"
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.032"


_raw:
ParentIdentity="72e052ed-087c-48b6-b42c-c44c63f8312f"
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="1d1a4fb8-f935-45f2-8736-9df5d597f2b9"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-repl-stats.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.018"


_raw:
ParentIdentity="72e052ed-087c-48b6-b42c-c44c63f8312f"
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="1d1a4fb8-f935-45f2-8736-9df5d597f2b9"
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="1d1a4fb8-f935-45f2-8736-9df5d597f2b9"
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="a1b95fae-ed4e-4e09-bd02-3c4ef7d75334"
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="a1b95fae-ed4e-4e09-bd02-3c4ef7d75334"
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="a1b95fae-ed4e-4e09-bd02-3c4ef7d75334"
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="20457ae7-4260-4d0d-8cf4-35eb89e02089"
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="20457ae7-4260-4d0d-8cf4-35eb89e02089"
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="20457ae7-4260-4d0d-8cf4-35eb89e02089"
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="e9c759ff-6e70-4967-88d8-a7cba4506be1"
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"