Learn about Windows PowerShell
Summary: Use Windows PowerShell to create a file share.
How can I use Windows PowerShell on my computer running Windows 8 to create a new file share?
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
The term 'New-SmbShare' is not recognized as the name of a cmdlet... Windows 7 in a 2008 R2 Domain using UNC for the path. \\server\drive$\folder
Ed, That's because you can't use a UNC path. You are creating a share, not accessing one.