PowerShell uses PSDrives that work and include your file system drives. To locate the available use the Get-PSDrive Cmdlet:
Notice the Alias drive. You can navigate to these drives as you would a file system drive:
cd alias:
Now you can type dir to get a list of aliases.
Try doing the same with the Env: drive. It allows you to browse the environmental variables drive. Or the HKLU and HKLM which allow for navigation through the registry. Just be careful. Better yet do this on a virtual machine in a test environment and feel free to experiment.
Happy navigating!
cd alias:
Now you can type dir to get a list of aliases.
Try doing the same with the Env: drive. It allows you to browse the environmental variables drive. Or the HKLU and HKLM which allow for navigation through the registry. Just be careful. Better yet do this on a virtual machine in a test environment and feel free to experiment.
Happy navigating!
RSS Feed