Difference between revisions of "General Powershell Notes"
Jump to navigation
Jump to search
Michael.mast (talk | contribs) |
Michael.mast (talk | contribs) |
||
Line 2: | Line 2: | ||
==NTFS Permissions== | ==NTFS Permissions== | ||
<ref>https://gallery.technet.microsoft.com/scriptcenter/1abd77a5-9c0b-4a2b-acef-90dbb2b84e85</ref> | <ref>https://gallery.technet.microsoft.com/scriptcenter/1abd77a5-9c0b-4a2b-acef-90dbb2b84e85</ref> | ||
+ | <ref>https://blogs.technet.microsoft.com/fieldcoding/2014/12/05/ntfssecurity-tutorial-1-getting-adding-and-removing-permissions/</ref> | ||
+ | <pre> | ||
+ | Get-NTFSAccess -path .\Contacts | ||
+ | add-ntfsaccess -path .\contacts -account first.last -accessrights read | ||
+ | </pre> |
Revision as of 09:34, 19 May 2017
NTFS Permissions
Get-NTFSAccess -path .\Contacts add-ntfsaccess -path .\contacts -account first.last -accessrights read
- ↑ https://msdn.microsoft.com/en-us/powershell/reference/5.1/microsoft.powershell.core/enable-psremoting
- ↑ https://gallery.technet.microsoft.com/scriptcenter/1abd77a5-9c0b-4a2b-acef-90dbb2b84e85
- ↑ https://blogs.technet.microsoft.com/fieldcoding/2014/12/05/ntfssecurity-tutorial-1-getting-adding-and-removing-permissions/