Sharing permissions

Get-Acl and Set-Acl are fantastic tools for working with file system permissions, or permissions under other providers. However, these commands cannot be used to affect share permissions.

The SmbShare module:
The SmbShare module has commands that affect share permissions. This example uses the older WMI classes to modify permissions. It might be used if the SmbShare module cannot be.
The command Get-SmbShareAccess might be used to verify the outcome of this example.

The following operations require administrative privileges; run ISE or PowerShell as an administrator if attempting to use the examples.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.152.58