Hi
having some problem setting up a net share, I would like to setup a net share and set the permissions at the same time
This is what i run in a powershell windows
PS D:\dfsshares> net share dfs_company=d:\dfsshares\company /GRANT:EVERYONE,READ
The syntax of this command is:
NET SHARE
sharename
sharename=drive:path [/GRANT:user,[READ | CHANGE | FULL]]
[/USERS:number | /UNLIMITED]
[/REMARK:"text"]
[/CACHE:Manual | Documents| Programs | BranchCache | None]
sharename [/USERS:number | /UNLIMITED]
[/REMARK:"text"]
[/CACHE:Manual | Documents | Programs | BranchCache | None]
{sharename | devicename | drive:path} /DELETE
sharename \\computername /DELETE
Syntax looks okay to me
Alex