Mapping Drives Revisited
September 4th, 2016 by Charlie Russel and tagged $Profile, Map Drives, net use, PowerShell v5, PSDrive
In my old drive mapping post, I was forced to do some fairly ugly stuff because I had to call the old net use command. Yech. Eventually, we got New-PSDrive, and that helped, but in PowerShell v5 (Windows 10’s version), we get New-SmbMapping and it actually works. (New-SmbMapping was added earlier, but there were issues. Those […]
Posted in $Profile, net commands, PowerShell, Survival Guide | 4 Comments »