Difference between revisions of "General Powershell Notes"

From Michael's Information Zone
Jump to navigation Jump to search
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