If you’ve worked with cmd.exe or other shell environments, you might be familiar with environmental variables.
PowerShell exposes these variables in two different ways. (Actually it’s the same way, but don’t tell anyone..)
So, Spit It Out Already..
First, I can access environmental variables through the provider.
All my standard commands in navigating and retrieving items from a provider (Get-Item, Set-Item, New-Item, etc..) work in interacting with these variables. ### And The Other One? The other access method also uses the provider, but it accesses it in a bit different way..  By using the "$" and the PSDrive name.
NOTE: This syntax can be used with other providers as well (eg $c:Windows)