Q. What is the ENV: drive in PowerShell?

The ENV: drive in PowerShell stores your system's environment variables. Dir ENV:PSModulePath, for example, shows the paths where PowerShell looks for modules, by default. You can modify or view items in the ENV: drive.

Don Jones

July 18, 2010

1 Min Read
three road signs middle with question mark others with arrows

Q. What is the ENV: drive in PowerShell?

A. The ENV: drive in PowerShell stores your system's environment variables. Dir ENV:PSModulePath, for example, shows the paths where PowerShell looks for modules, by default. You can modify or view items in the ENV: drive.

Do you have a Windows PowerShell question? Find more PowerShell FAQs, articles, and other resources at windowsitpro.com/go/DonJonesPowerShell.

 

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like