Hey guys –
Just curious if anyone has experienced the WMI/DCOM issues I’m currently seeing with Runspaces.
Basically its as simple as :
Get-WMIObject works when run in a PowerShell console window.
ie:
Get-WMIObject -ComputerName ABC-TEST01 -Credential $cred -Class win32_Process
But fails (RPC Timeouts) when the same command is run within a runspace:
Invoke-Parallel PoshRSJob Split-pipeline
I’ve tried all three of the major parallelism modules and so far all come up with the same issue when running against these remote systems. I have a feeling this is a WMI specific issue with the speed in which i’m trying to execute the commands.
Anyone run into this?
submitted by /u/mav_918
[link] [comments]
The post Runspaces / DCOM & WMI Issues appeared first on How to Code .NET.