#NetShare.ps1
#Windows10
#PowerShellPSVersion5.1..
#==========HELP帮助==========
#显示帮助
PSC:\Windows\system32netshare/help
或
PSC:\Windows\system32nethelpshare
此命令的语法是:
NETSHARE
sharename
sharename=drive:path[/GRANT:user,[READ
CHANGE
FULL]]
[/USERS:number
/UNLIMITED]
[/MARK:"text"]
[/CACHE:Manual
Documents
Programs
BranchCache
None]
sharename[/USERS:number
/UNLIMITED]
[/MARK:"text"]
[/CACHE:Manual
Documents
Programs
BranchCache
None]
{sharename
devicename
drive:path}/DELETE
sharename\\