I run a script which performs many WMI-querys - but the cmdlet hangs if the server doesn\'t answer..
Is there any way I can make this (or any other cmndlet for that matter)
In addition to what has been said, not a bullet proof solution but consider pinging your servers first (Test-Connection), it can speed up execution time in case you have no responding machines.