January 9th, 2014

PowerTip: Use PowerShell to Create New File Share

Doctor Scripto
Scripter

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

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.