Skip to content

Instantly share code, notes, and snippets.



Last active Feb 3, 2016
What would you like to do?
Mount drive letters for each Module Path
$driveIndex = 1
$env:PSModulePath -split ';' | Sort-Object | foreach { New-PSDrive -Name "PSMods$driveIndex" -PSProvider filesystem -Root $PSItem; $driveIndex++ }
Get-PSDrive -PSProvider FileSystem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.