Sharing from the command line

Messing with Hyper-V this week I came across a situation where I wanted to share a folder, and the Hyper-V only allows you to do so from the command line. So, here's the command I used:

net share MyShareName=C:MyShareDrive /GRANT:MyDomainMyUser,FULL

Put " around shares and/or folders with spaces.

Leave a Reply

Your email address will not be published.