Monthly Archives: February 2008

  • 0

How To Map A Network Drive? #PowerShell

Applies to: Windows PowerShell 1.0 and 2.0 (as from 3.0 you can use New-PSDrive w/ -Persist switch)

If you want to map a network share with PowerShell try one of the following ways:

WshNetwork’s MapNetworkDrive method

Good old NET USE