Windows 2008: PowerShell commands work, but fail when put in a script

By order24 ·
I can successfully enter a get-wmiobject command directly in the PowerShell window, but it fails with an "Invalid Query" error when put in a PowerShell script. I can't figure out why this is happening. Any help would be appreciated!

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Web Development Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums