Check Windows Management Framework, Windows firewall service is running or not. Mostly a server restart would fix this kind of issue with WMI. but its not a proper solution.
You can do the same by using Invoke-Command as well.
Author
Posts
Viewing 1 reply thread
The topic ‘Script hangs when accessing remote machine’ is closed to new replies.