Reputation: 4451
I want to be able to set my location to a network share in the PowerShell command window. I had thought that doing something like \\SERVERNAME\SHARE_NAME would do the trick, but it doesn't. So how do I do it?
Upvotes: 1
Views: 842
Reputation: 6571
Set-Location //server/share
Or, using the alias cd
cd //server/share
Note: you may also use Set-LocationEx
in place of Set-Location
.
Upvotes: 1