i am trying to write a script which adds"CreatorOwner" permission to profile$ folders on all file servers;
i.e , add "CreatorOwner" permissions to "\FileServer\Profile$"
can anybody tell me whats the command and syntax for it?
Please do ask if any questions.
This will do it:
What the CSV file looks Like
\SRV01\Folder1\Folder2 etc.
One way of doing this is using WMI and UNC paths.
Now if you have a list of server names you could do the following: