PowerShell for Windows Admins

Jan 22 2011   2:12PM GMT

Environmental variables



Posted by: Richard Siddaway
Tags:
Operating System
PowerShell v2

 

Get-WmiObject -Class Win32_Environment | sort Name | select Name, VariableValue

shows the environmental variables that can be seen on the control panel system dialog.

Useful for checking remote machines if the computername parameter is added to Get-WmiObject

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: