Posts tagged with PSDrive

Mapping Drives Revisited

September 4th, 2016 by and tagged , , , ,

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 »

PowerShell v3 – Using PSDrive to Replace Net Use

August 1st, 2012 by and tagged , ,

I routinely have to map drives across domain boundaries, or to/from non-domain and domain machines. In the old days, I used NET USE commands, which were OK, but there were some issues. Besides, it’s time to move to away from legacy commands such as NET. PowerShell v3 includes an updated set of PSDrive cmdlets (Get, […]

Posted in $Profile, PowerShell, WMI | Comments Off on PowerShell v3 – Using PSDrive to Replace Net Use