Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Map a Drive

$
0
0

Summary: Learn how to use Windows PowerShell to map a drive.

Hey, Scripting Guy! Question How can I use Windows PowerShell  to map a drive to a server from a client running Windows 8.1?

Hey, Scripting Guy! Answer Use the New-SmbMapping cmdlet and specify the local path and the remote path, for example:

New-SmbMapping -LocalPath h: -RemotePath \\dc1\Share


Viewing all articles
Browse latest Browse all 3333

Trending Articles