(Maint) Don't assume powershell.exe command is available

Previously, the specs would fail on systems where powershell is not installed
like 2003 non-R2.

Restrict the tests that actually try to execute powershell to systems where
powershell.exe is in the PATH.