_raw:
ParentIdentity="1ce02e4d-3550-4a2b-9b7a-4f2548bccf2b"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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 System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
   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="6dfa5c0b-d6de-48d1-b783-d81ce07b285f"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.015"

source: Powershell


_raw:
ParentIdentity="52178cd1-16ab-47c4-a2e6-d98f41349b28"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="2b2aba54-b09a-4bd8-bd49-827fb112be0d"
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-siteinfo.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="1f051487-9fec-4cb5-af37-b49d85fe269d"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.019"


_raw:
ParentIdentity="b915f36b-00d1-4101-9522-f87916b6ef59"
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-siteinfo.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="16c6b166-f42e-4e17-8f1f-205827353acc"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="1ce02e4d-3550-4a2b-9b7a-4f2548bccf2b"
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-siteinfo.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="6dfa5c0b-d6de-48d1-b783-d81ce07b285f"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="52178cd1-16ab-47c4-a2e6-d98f41349b28"
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-siteinfo.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="31b22aeb-2ae6-4c15-b4ce-69166daf33e7"
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-siteinfo.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="02a7d74b-f950-44f3-afb2-3ed7701cf89e"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.018"


_raw:
ParentIdentity="16c6b166-f42e-4e17-8f1f-205827353acc"
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-siteinfo.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="6dfa5c0b-d6de-48d1-b783-d81ce07b285f"
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-siteinfo.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="d0b5b6c0-6a58-463e-a8f7-19b7cba1884f"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.018"


_raw:
ParentIdentity="1f051487-9fec-4cb5-af37-b49d85fe269d"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="02a7d74b-f950-44f3-afb2-3ed7701cf89e"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="18fcaeef-795f-47a0-b409-101a64917c9a"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.021"


_raw:
Identity="8023b997-0d28-4356-aafc-8e2ce6cc4f6b"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.015"


_raw:
ParentIdentity="d0b5b6c0-6a58-463e-a8f7-19b7cba1884f"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="1f051487-9fec-4cb5-af37-b49d85fe269d"
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-siteinfo.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="02a7d74b-f950-44f3-afb2-3ed7701cf89e"
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-siteinfo.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="18fcaeef-795f-47a0-b409-101a64917c9a"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="8023b997-0d28-4356-aafc-8e2ce6cc4f6b"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="d0b5b6c0-6a58-463e-a8f7-19b7cba1884f"
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-siteinfo.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="52aa9323-57f7-4aaf-a617-d35530adb572"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.014"


_raw:
Identity="ee1f62b1-97fd-4a9a-a07f-cae0aa4b5531"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.017"


_raw:
ParentIdentity="18fcaeef-795f-47a0-b409-101a64917c9a"
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-siteinfo.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="8023b997-0d28-4356-aafc-8e2ce6cc4f6b"
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-siteinfo.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="295e0ee9-3f05-4f05-8e4b-3bc2baa63622"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.015"


_raw:
ParentIdentity="52aa9323-57f7-4aaf-a617-d35530adb572"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="ee1f62b1-97fd-4a9a-a07f-cae0aa4b5531"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="982c5e82-62bd-42ad-8c79-ffd7f8afb8de"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.017"


_raw:
ParentIdentity="295e0ee9-3f05-4f05-8e4b-3bc2baa63622"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="52aa9323-57f7-4aaf-a617-d35530adb572"
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-siteinfo.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="ee1f62b1-97fd-4a9a-a07f-cae0aa4b5531"
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-siteinfo.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="982c5e82-62bd-42ad-8c79-ffd7f8afb8de"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="295e0ee9-3f05-4f05-8e4b-3bc2baa63622"
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-siteinfo.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="3d35f6cd-538c-4864-bf76-d6d93f7e7fe5"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.017"


_raw:
Identity="230c26fc-4418-409d-ba40-5361e6490f85"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.020"


_raw:
ParentIdentity="982c5e82-62bd-42ad-8c79-ffd7f8afb8de"
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-siteinfo.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="700e5aa8-9897-43ff-82b1-ddb5f2e09bd5"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.022"


_raw:
ParentIdentity="3d35f6cd-538c-4864-bf76-d6d93f7e7fe5"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="230c26fc-4418-409d-ba40-5361e6490f85"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="a2ab1b49-08bb-4cd0-a786-97700ec79965"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.017"


_raw:
ParentIdentity="700e5aa8-9897-43ff-82b1-ddb5f2e09bd5"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="3d35f6cd-538c-4864-bf76-d6d93f7e7fe5"
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-siteinfo.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="230c26fc-4418-409d-ba40-5361e6490f85"
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-siteinfo.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="a2ab1b49-08bb-4cd0-a786-97700ec79965"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="700e5aa8-9897-43ff-82b1-ddb5f2e09bd5"
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-siteinfo.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="9ac5c27c-a8ea-4bfb-8003-6c5393bad510"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.024"


_raw:
ParentIdentity="a2ab1b49-08bb-4cd0-a786-97700ec79965"
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-siteinfo.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="dd6e41e9-788f-44c0-a5bb-120770a0ab33"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.017"


_raw:
ParentIdentity="9ac5c27c-a8ea-4bfb-8003-6c5393bad510"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="dd6e41e9-788f-44c0-a5bb-120770a0ab33"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="9ac5c27c-a8ea-4bfb-8003-6c5393bad510"
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-siteinfo.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="dd6e41e9-788f-44c0-a5bb-120770a0ab33"
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-siteinfo.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="03f0aaee-6efe-4384-b83c-301259cd2196"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.021"


_raw:
Identity="1d2cb6e6-de96-4b90-848b-e73523315c57"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.020"


_raw:
ParentIdentity="03f0aaee-6efe-4384-b83c-301259cd2196"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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 System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
   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="1d2cb6e6-de96-4b90-848b-e73523315c57"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="03f0aaee-6efe-4384-b83c-301259cd2196"
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-siteinfo.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="1d2cb6e6-de96-4b90-848b-e73523315c57"
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-siteinfo.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="a039ebc4-921f-4d27-8284-4d34d120dd4d"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.012"


_raw:
ParentIdentity="a039ebc4-921f-4d27-8284-4d34d120dd4d"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="a039ebc4-921f-4d27-8284-4d34d120dd4d"
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-siteinfo.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="5b72e8f7-6e66-4fb1-9fb0-dd8d17a461f5"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.020"


_raw:
ParentIdentity="5b72e8f7-6e66-4fb1-9fb0-dd8d17a461f5"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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 System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
   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="5b72e8f7-6e66-4fb1-9fb0-dd8d17a461f5"
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-siteinfo.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="5e78bb91-5cfa-4a82-a254-02f270a3651d"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.021"


_raw:
ParentIdentity="5e78bb91-5cfa-4a82-a254-02f270a3651d"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="5e78bb91-5cfa-4a82-a254-02f270a3651d"
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-siteinfo.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="95b0d06e-79ec-4d1a-a484-ec218b07eb18"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.024"


_raw:
Identity="3c456689-ad40-4472-ab3d-ece3824ad15c"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.023"


_raw:
ParentIdentity="95b0d06e-79ec-4d1a-a484-ec218b07eb18"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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="3c456689-ad40-4472-ab3d-ece3824ad15c"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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 System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
   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="95b0d06e-79ec-4d1a-a484-ec218b07eb18"
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-siteinfo.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="3c456689-ad40-4472-ab3d-ece3824ad15c"
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-siteinfo.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="f818fcf8-d0b6-448d-a06b-45e23bbcb22d"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.021"


_raw:
Identity="c596e761-63d3-40c1-a8f4-e6ee9e9211be"
InvocationLine="& "$SplunkHome\etc\apps\Splunk_TA_windows\bin\Invoke-MonitoredScript.ps1" -Command ".\powershell\2012r2-siteinfo.ps1""
TerminatingError="True"
ErrorCount="2"
Elapsed="00:00:00.020"


_raw:
ParentIdentity="f818fcf8-d0b6-448d-a06b-45e23bbcb22d"
ErrorIndex="0"
ErrorMessage="The term 'Get-ADDomainController' 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-siteinfo.ps1:7 char:8
+ $DC     = Get-ADDomainController -Identity $ServerName
+           ~~~~~~~~~~~~~~~~~~~~~~"
CategoryInfo="ObjectNotFound: (Get-ADDomainController:String) [], CommandNotFoundException"
FullyQualifiedErrorId="CommandNotFoundException"
Exception="System.Management.Automation.CommandNotFoundException: The term 'Get-ADDomainController' 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 System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
   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()"