The error I get is:
item: 'Invoke an external script/item0', state: 'failed', business state: 'null', exception: 'PowerShellInvocationError: Errors found while executing script
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()
at System.Management.Automation.Cmdlet.DoBeginProcessing()
at System.Management.Automation.CommandProcessorBase.DoBegin()
(Dynamic Script Module name : invokeScript#14)'
I followed microsoft's recommendation of checking the DCOM settings on the server and it didn't have any effect. I also updated the Powershell Plugin and that didn't help either. Sample scripts work but anything that attempt to use a master script that calls other scripts fails because for some reason some of the scripts it calls won't execute.
Same folder permissions across all scripts folders and module folders they rely on.
Anyone else experience this?