Posts tagged with Get-WmiObject

Unmapping Network Drives

June 27th, 2015 by and tagged , , , , ,

Unmapping network drives with PowerShell should be easy, and it is, but with some caveats. If you always create your network drive mappings with New-PSDrive, then it’s easy to unmap them with Remove-PSDrive. But if some of them are created with Group Policy, some of them with the legacy “net use” commands, some of them […]

Posted in PowerShell, WMI | 4 Comments »