PS: Working with Environment Provider
PROVIDER NAME Environment DRIVES Env: SHORT DESCRIPTION Provides access to the Windows environment variables. DETAILED DESCRIPTION The Windows PowerShell Environment provider lets you get, add, change, clear, and delete Windows environment variables in Windows PowerShell. The Environment provider is a flat namespace that contains only objects that represent the environment variables. The variables have no child items. Each environment variable is an instance of the System.Collections.DictionaryEntry class. The name of the variable is the dictionary key. The value of the environment variable is the dictionary value. The Environment provider exposes its data store in the Env: drive. To work with […]
Read more