Map a Network Drive Using PowerShell

Map a network drive with PowerShell.

John Savill

February 24, 2015

1 Min Read
Map a Network Drive Using PowerShell

Q. How do I map a drive to a remote share using PowerShell?

A. To map a network drive using PowerShell, use the New-PSDrive cmdlet. For example:

New-PSDrive –Name "T" -PSProvider FileSystem -Root "\machineshare" -Persist

 

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like