PowerTip: Use PowerShell to Create New File Share

Doctor Scripto

Summary: Use Windows PowerShell to create a file share.

Hey, Scripting Guy! Question How can I use Windows PowerShell on my computer running Windows 8 to create a new file share?

Hey, Scripting Guy! Answer Open the Windows PowerShell console with Admin rights, then use the New-SmbShare function,
         and specify a file name and path:

New-SmbShare -Name fso -Path c:\fso


Discussion is closed.

Feedback usabilla icon