Add-NTFSAccess Add NTFSAccess Adds an access control entry (ACE) to an object. Adds an access control entry (ACE) to an object such as a file or folder. Other examples would be an object inside of Active Directory. Add-NTFSAccess Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AccessRights The AccessRights parameter designates the permissions to assign. There are individual permissions as well as 'basic' permissions. See the below table for how the basic permissions permissions map the the advanced permissions. | Permissions | Basic Full Control | Basic Modify | Basic Read & Execute | Basic List Folder Contents | Basic Read | Basic Write | |:---------------------------: |:------------------: |:------------: |:--------------------: |:--------------------------: |:----------: |:-----------: | | Travers Folder/Execute | X | X | X | X | | | | List Folder/ Read Data | X | X | X | X | X | | | Read Attributes | X | X | X | X | X | | | Read Extended Attributes | X | X | X | X | X | | | Create Files/Write Data | X | X | | | | X | | Create Folders/Append Data | X | X | | | | X | | Write Attributes | X | X | | | | X | | Write Extended Attributes | X | X | | | | X | | Delete Subfolders and Files | X | | | | | | | Delete | X | X | | | | | | Read Permissions | X | X | X | X | X | X | | Change Permissions | X | | | | | | | Take Ownership | X | | | | | | | Synchronize | X | X | X | X | X | X | None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None AccessType The AccessType parameter determines if the ACE allows or denies the permissions assigned. Allow Deny AccessControlType AccessControlType None AppliesTo {{ Fill AppliesTo Description }} ThisFolderOnly ThisFolderSubfoldersAndFiles ThisFolderAndSubfolders ThisFolderAndFiles SubfoldersAndFilesOnly SubfoldersOnly FilesOnly ThisFolderSubfoldersAndFilesOneLevel ThisFolderAndSubfoldersOneLevel ThisFolderAndFilesOneLevel SubfoldersAndFilesOnlyOneLevel SubfoldersOnlyOneLevel FilesOnlyOneLevel ApplyTo ApplyTo None PassThru {{ Fill PassThru Description }} SwitchParameter False Add-NTFSAccess SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AccessRights The AccessRights parameter designates the permissions to assign. There are individual permissions as well as 'basic' permissions. See the below table for how the basic permissions permissions map the the advanced permissions. | Permissions | Basic Full Control | Basic Modify | Basic Read & Execute | Basic List Folder Contents | Basic Read | Basic Write | |:---------------------------: |:------------------: |:------------: |:--------------------: |:--------------------------: |:----------: |:-----------: | | Travers Folder/Execute | X | X | X | X | | | | List Folder/ Read Data | X | X | X | X | X | | | Read Attributes | X | X | X | X | X | | | Read Extended Attributes | X | X | X | X | X | | | Create Files/Write Data | X | X | | | | X | | Create Folders/Append Data | X | X | | | | X | | Write Attributes | X | X | | | | X | | Write Extended Attributes | X | X | | | | X | | Delete Subfolders and Files | X | | | | | | | Delete | X | X | | | | | | Read Permissions | X | X | X | X | X | X | | Change Permissions | X | | | | | | | Take Ownership | X | | | | | | | Synchronize | X | X | X | X | X | X | None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None AccessType The AccessType parameter determines if the ACE allows or denies the permissions assigned. Allow Deny AccessControlType AccessControlType None AppliesTo {{ Fill AppliesTo Description }} ThisFolderOnly ThisFolderSubfoldersAndFiles ThisFolderAndSubfolders ThisFolderAndFiles SubfoldersAndFilesOnly SubfoldersOnly FilesOnly ThisFolderSubfoldersAndFilesOneLevel ThisFolderAndSubfoldersOneLevel ThisFolderAndFilesOneLevel SubfoldersAndFilesOnlyOneLevel SubfoldersOnlyOneLevel FilesOnlyOneLevel ApplyTo ApplyTo None PassThru {{ Fill PassThru Description }} SwitchParameter False Add-NTFSAccess Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AccessRights The AccessRights parameter designates the permissions to assign. There are individual permissions as well as 'basic' permissions. See the below table for how the basic permissions permissions map the the advanced permissions. | Permissions | Basic Full Control | Basic Modify | Basic Read & Execute | Basic List Folder Contents | Basic Read | Basic Write | |:---------------------------: |:------------------: |:------------: |:--------------------: |:--------------------------: |:----------: |:-----------: | | Travers Folder/Execute | X | X | X | X | | | | List Folder/ Read Data | X | X | X | X | X | | | Read Attributes | X | X | X | X | X | | | Read Extended Attributes | X | X | X | X | X | | | Create Files/Write Data | X | X | | | | X | | Create Folders/Append Data | X | X | | | | X | | Write Attributes | X | X | | | | X | | Write Extended Attributes | X | X | | | | X | | Delete Subfolders and Files | X | | | | | | | Delete | X | X | | | | | | Read Permissions | X | X | X | X | X | X | | Change Permissions | X | | | | | | | Take Ownership | X | | | | | | | Synchronize | X | X | X | X | X | X | None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None AccessType The AccessType parameter determines if the ACE allows or denies the permissions assigned. Allow Deny AccessControlType AccessControlType None InheritanceFlags {{ Fill InheritanceFlags Description }} None ContainerInherit ObjectInherit InheritanceFlags InheritanceFlags None PassThru {{ Fill PassThru Description }} SwitchParameter False PropagationFlags {{ Fill PropagationFlags Description }} None NoPropagateInherit InheritOnly PropagationFlags PropagationFlags None Add-NTFSAccess SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AccessRights The AccessRights parameter designates the permissions to assign. There are individual permissions as well as 'basic' permissions. See the below table for how the basic permissions permissions map the the advanced permissions. | Permissions | Basic Full Control | Basic Modify | Basic Read & Execute | Basic List Folder Contents | Basic Read | Basic Write | |:---------------------------: |:------------------: |:------------: |:--------------------: |:--------------------------: |:----------: |:-----------: | | Travers Folder/Execute | X | X | X | X | | | | List Folder/ Read Data | X | X | X | X | X | | | Read Attributes | X | X | X | X | X | | | Read Extended Attributes | X | X | X | X | X | | | Create Files/Write Data | X | X | | | | X | | Create Folders/Append Data | X | X | | | | X | | Write Attributes | X | X | | | | X | | Write Extended Attributes | X | X | | | | X | | Delete Subfolders and Files | X | | | | | | | Delete | X | X | | | | | | Read Permissions | X | X | X | X | X | X | | Change Permissions | X | | | | | | | Take Ownership | X | | | | | | | Synchronize | X | X | X | X | X | X | None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None AccessType The AccessType parameter determines if the ACE allows or denies the permissions assigned. Allow Deny AccessControlType AccessControlType None InheritanceFlags {{ Fill InheritanceFlags Description }} None ContainerInherit ObjectInherit InheritanceFlags InheritanceFlags None PassThru {{ Fill PassThru Description }} SwitchParameter False PropagationFlags {{ Fill PropagationFlags Description }} None NoPropagateInherit InheritOnly PropagationFlags PropagationFlags None AccessRights The AccessRights parameter designates the permissions to assign. There are individual permissions as well as 'basic' permissions. See the below table for how the basic permissions permissions map the the advanced permissions. | Permissions | Basic Full Control | Basic Modify | Basic Read & Execute | Basic List Folder Contents | Basic Read | Basic Write | |:---------------------------: |:------------------: |:------------: |:--------------------: |:--------------------------: |:----------: |:-----------: | | Travers Folder/Execute | X | X | X | X | | | | List Folder/ Read Data | X | X | X | X | X | | | Read Attributes | X | X | X | X | X | | | Read Extended Attributes | X | X | X | X | X | | | Create Files/Write Data | X | X | | | | X | | Create Folders/Append Data | X | X | | | | X | | Write Attributes | X | X | | | | X | | Write Extended Attributes | X | X | | | | X | | Delete Subfolders and Files | X | | | | | | | Delete | X | X | | | | | | Read Permissions | X | X | X | X | X | X | | Change Permissions | X | | | | | | | Take Ownership | X | | | | | | | Synchronize | X | X | X | X | X | X | FileSystemRights2 FileSystemRights2 None AccessType The AccessType parameter determines if the ACE allows or denies the permissions assigned. AccessControlType AccessControlType None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AppliesTo {{ Fill AppliesTo Description }} ApplyTo ApplyTo None InheritanceFlags {{ Fill InheritanceFlags Description }} InheritanceFlags InheritanceFlags None PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None PropagationFlags {{ Fill PropagationFlags Description }} PropagationFlags PropagationFlags None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] Security2.IdentityReference2[] Security2.FileSystemRights2 System.Security.AccessControl.AccessControlType System.Security.AccessControl.InheritanceFlags System.Security.AccessControl.PropagationFlags Security2.ApplyTo Security2.FileSystemAccessRule2 -------------------------- Example 1 -------------------------- PS C:\> Add-NTFSAccess -Path C:\Data -Account 'NT AUTHORITY\Authenticated Users' -AccessRights Read The above command gives the read permissions to the built-in group of 'Authenticated users' Add-NTFSAudit Add NTFSAudit {{ Fill in the Synopsis }} {{ Fill in the Description }} Add-NTFSAudit Path {{ Fill Path Description }} String[] String[] None AccessRights {{ Fill AccessRights Description }} None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AppliesTo {{ Fill AppliesTo Description }} ThisFolderOnly ThisFolderSubfoldersAndFiles ThisFolderAndSubfolders ThisFolderAndFiles SubfoldersAndFilesOnly SubfoldersOnly FilesOnly ThisFolderSubfoldersAndFilesOneLevel ThisFolderAndSubfoldersOneLevel ThisFolderAndFilesOneLevel SubfoldersAndFilesOnlyOneLevel SubfoldersOnlyOneLevel FilesOnlyOneLevel ApplyTo ApplyTo None AuditFlags {{ Fill AuditFlags Description }} None Success Failure AuditFlags AuditFlags None PassThru {{ Fill PassThru Description }} SwitchParameter False Add-NTFSAudit SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None AccessRights {{ Fill AccessRights Description }} None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AppliesTo {{ Fill AppliesTo Description }} ThisFolderOnly ThisFolderSubfoldersAndFiles ThisFolderAndSubfolders ThisFolderAndFiles SubfoldersAndFilesOnly SubfoldersOnly FilesOnly ThisFolderSubfoldersAndFilesOneLevel ThisFolderAndSubfoldersOneLevel ThisFolderAndFilesOneLevel SubfoldersAndFilesOnlyOneLevel SubfoldersOnlyOneLevel FilesOnlyOneLevel ApplyTo ApplyTo None AuditFlags {{ Fill AuditFlags Description }} None Success Failure AuditFlags AuditFlags None PassThru {{ Fill PassThru Description }} SwitchParameter False Add-NTFSAudit Path {{ Fill Path Description }} String[] String[] None AccessRights {{ Fill AccessRights Description }} None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AuditFlags {{ Fill AuditFlags Description }} None Success Failure AuditFlags AuditFlags None InheritanceFlags {{ Fill InheritanceFlags Description }} None ContainerInherit ObjectInherit InheritanceFlags InheritanceFlags None PassThru {{ Fill PassThru Description }} SwitchParameter False PropagationFlags {{ Fill PropagationFlags Description }} None NoPropagateInherit InheritOnly PropagationFlags PropagationFlags None Add-NTFSAudit SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None AccessRights {{ Fill AccessRights Description }} None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AuditFlags {{ Fill AuditFlags Description }} None Success Failure AuditFlags AuditFlags None InheritanceFlags {{ Fill InheritanceFlags Description }} None ContainerInherit ObjectInherit InheritanceFlags InheritanceFlags None PassThru {{ Fill PassThru Description }} SwitchParameter False PropagationFlags {{ Fill PropagationFlags Description }} None NoPropagateInherit InheritOnly PropagationFlags PropagationFlags None AccessRights {{ Fill AccessRights Description }} FileSystemRights2 FileSystemRights2 None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AppliesTo {{ Fill AppliesTo Description }} ApplyTo ApplyTo None AuditFlags {{ Fill AuditFlags Description }} AuditFlags AuditFlags None InheritanceFlags {{ Fill InheritanceFlags Description }} InheritanceFlags InheritanceFlags None PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None PropagationFlags {{ Fill PropagationFlags Description }} PropagationFlags PropagationFlags None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] Security2.IdentityReference2[] Security2.FileSystemRights2 System.Security.AccessControl.AuditFlags System.Security.AccessControl.InheritanceFlags System.Security.AccessControl.PropagationFlags Security2.ApplyTo Security2.FileSystemAccessRule2 -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Clear-NTFSAccess Clear NTFSAccess {{ Fill in the Synopsis }} {{ Fill in the Description }} Clear-NTFSAccess Path {{ Fill Path Description }} String[] String[] None DisableInheritance {{ Fill DisableInheritance Description }} SwitchParameter False Clear-NTFSAccess SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None DisableInheritance {{ Fill DisableInheritance Description }} SwitchParameter False DisableInheritance {{ Fill DisableInheritance Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] System.Object -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Clear-NTFSAudit Clear NTFSAudit {{ Fill in the Synopsis }} {{ Fill in the Description }} Clear-NTFSAudit Path {{ Fill Path Description }} String[] String[] None DisableInheritance {{ Fill DisableInheritance Description }} SwitchParameter False Clear-NTFSAudit SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None DisableInheritance {{ Fill DisableInheritance Description }} SwitchParameter False DisableInheritance {{ Fill DisableInheritance Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] System.Object -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Copy-Item2 Copy Item2 {{ Fill in the Synopsis }} {{ Fill in the Description }} Copy-Item2 Path {{ Fill Path Description }} String[] String[] None Destination {{ Fill Destination Description }} String String None Confirm Prompts you for confirmation before running the cmdlet. SwitchParameter False Force {{ Fill Force Description }} SwitchParameter False PassThru {{ Fill PassThru Description }} Boolean Boolean None WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run. SwitchParameter False Confirm Prompts you for confirmation before running the cmdlet. SwitchParameter SwitchParameter False Destination {{ Fill Destination Description }} String String None Force {{ Fill Force Description }} SwitchParameter SwitchParameter False PassThru {{ Fill PassThru Description }} Boolean Boolean None Path {{ Fill Path Description }} String[] String[] None WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run. SwitchParameter SwitchParameter False System.String[] System.String System.Object -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Disable-NTFSAccessInheritance Disable NTFSAccessInheritance {{ Fill in the Synopsis }} {{ Fill in the Description }} Disable-NTFSAccessInheritance Path {{ Fill Path Description }} String[] String[] None PassThru {{ Fill PassThru Description }} SwitchParameter False RemoveInheritedAccessRules {{ Fill RemoveInheritedAccessRules Description }} SwitchParameter False Disable-NTFSAccessInheritance SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None PassThru {{ Fill PassThru Description }} SwitchParameter False RemoveInheritedAccessRules {{ Fill RemoveInheritedAccessRules Description }} SwitchParameter False PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None RemoveInheritedAccessRules {{ Fill RemoveInheritedAccessRules Description }} SwitchParameter SwitchParameter False SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] System.Object -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Disable-NTFSAuditInheritance Disable NTFSAuditInheritance {{ Fill in the Synopsis }} {{ Fill in the Description }} Disable-NTFSAuditInheritance Path {{ Fill Path Description }} String[] String[] None PassThru {{ Fill PassThru Description }} SwitchParameter False RemoveInheritedAccessRules {{ Fill RemoveInheritedAccessRules Description }} SwitchParameter False Disable-NTFSAuditInheritance SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None PassThru {{ Fill PassThru Description }} SwitchParameter False RemoveInheritedAccessRules {{ Fill RemoveInheritedAccessRules Description }} SwitchParameter False PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None RemoveInheritedAccessRules {{ Fill RemoveInheritedAccessRules Description }} SwitchParameter SwitchParameter False SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] System.Object -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Disable-Privileges Disable Privileges {{ Fill in the Synopsis }} {{ Fill in the Description }} Disable-Privileges PassThru {{ Fill PassThru Description }} SwitchParameter False PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False None ProcessPrivileges.PrivilegeAndAttributes -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Enable-NTFSAccessInheritance Enable NTFSAccessInheritance {{ Fill in the Synopsis }} {{ Fill in the Description }} Enable-NTFSAccessInheritance Path {{ Fill Path Description }} String[] String[] None PassThru {{ Fill PassThru Description }} SwitchParameter False RemoveExplicitAccessRules {{ Fill RemoveExplicitAccessRules Description }} SwitchParameter False Enable-NTFSAccessInheritance SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None PassThru {{ Fill PassThru Description }} SwitchParameter False RemoveExplicitAccessRules {{ Fill RemoveExplicitAccessRules Description }} SwitchParameter False PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None RemoveExplicitAccessRules {{ Fill RemoveExplicitAccessRules Description }} SwitchParameter SwitchParameter False SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] System.Object -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Enable-NTFSAuditInheritance Enable NTFSAuditInheritance {{ Fill in the Synopsis }} {{ Fill in the Description }} Enable-NTFSAuditInheritance Path {{ Fill Path Description }} String[] String[] None PassThru {{ Fill PassThru Description }} SwitchParameter False RemoveExplicitAccessRules {{ Fill RemoveExplicitAccessRules Description }} SwitchParameter False Enable-NTFSAuditInheritance SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None PassThru {{ Fill PassThru Description }} SwitchParameter False RemoveExplicitAccessRules {{ Fill RemoveExplicitAccessRules Description }} SwitchParameter False PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None RemoveExplicitAccessRules {{ Fill RemoveExplicitAccessRules Description }} SwitchParameter SwitchParameter False SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] System.Object -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Enable-Privileges Enable Privileges {{ Fill in the Synopsis }} {{ Fill in the Description }} Enable-Privileges PassThru {{ Fill PassThru Description }} SwitchParameter False PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False None ProcessPrivileges.PrivilegeAndAttributes -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-ChildItem2 Get ChildItem2 {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-ChildItem2 Path {{ Fill Path Description }} String[] String[] None Filter {{ Fill Filter Description }} String String None Attributes {{ Fill Attributes Description }} ReadOnly Hidden System Directory Archive Device Normal Temporary SparseFile ReparsePoint Compressed Offline NotContentIndexed Encrypted IntegrityStream NoScrubData FileAttributes FileAttributes None Depth {{ Fill Depth Description }} Int32 Int32 None Directory {{ Fill Directory Description }} SwitchParameter False File {{ Fill File Description }} SwitchParameter False Force {{ Fill Force Description }} SwitchParameter False Hidden {{ Fill Hidden Description }} SwitchParameter False ReadOnly {{ Fill ReadOnly Description }} SwitchParameter False Recurse {{ Fill Recurse Description }} SwitchParameter False SkipMountPoints {{ Fill SkipMountPoints Description }} SwitchParameter False SkipSymbolicLinks {{ Fill SkipSymbolicLinks Description }} SwitchParameter False System {{ Fill System Description }} SwitchParameter False Attributes {{ Fill Attributes Description }} FileAttributes FileAttributes None Depth {{ Fill Depth Description }} Int32 Int32 None Directory {{ Fill Directory Description }} SwitchParameter SwitchParameter False File {{ Fill File Description }} SwitchParameter SwitchParameter False Filter {{ Fill Filter Description }} String String None Force {{ Fill Force Description }} SwitchParameter SwitchParameter False Hidden {{ Fill Hidden Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None ReadOnly {{ Fill ReadOnly Description }} SwitchParameter SwitchParameter False Recurse {{ Fill Recurse Description }} SwitchParameter SwitchParameter False SkipMountPoints {{ Fill SkipMountPoints Description }} SwitchParameter SwitchParameter False SkipSymbolicLinks {{ Fill SkipSymbolicLinks Description }} SwitchParameter SwitchParameter False System {{ Fill System Description }} SwitchParameter SwitchParameter False System.String[] Alphaleonis.Win32.Filesystem.FileInfo Alphaleonis.Win32.Filesystem.DirectoryInfo -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-DiskSpace Get DiskSpace {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-DiskSpace DriveLetter {{ Fill DriveLetter Description }} String[] String[] None DriveLetter {{ Fill DriveLetter Description }} String[] String[] None None Alphaleonis.Win32.Filesystem.DiskSpaceInfo -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-FileHash2 Get FileHash2 {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-FileHash2 Path {{ Fill Path Description }} String[] String[] None Algorithm {{ Fill Algorithm Description }} SHA1 SHA256 SHA384 SHA512 MACTripleDES MD5 RIPEMD160 HashAlgorithms HashAlgorithms None Algorithm {{ Fill Algorithm Description }} HashAlgorithms HashAlgorithms None Path {{ Fill Path Description }} String[] String[] None System.String[] Security2.FileSystem.FileInfo.HashAlgorithms Security2.FileSystemAccessRule2 -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-Item2 Get Item2 {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-Item2 Path {{ Fill Path Description }} String[] String[] None Path {{ Fill Path Description }} String[] String[] None System.String[] Alphaleonis.Win32.Filesystem.FileInfo Alphaleonis.Win32.Filesystem.DirectoryInfo -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-NTFSAccess Get NTFSAccess {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-NTFSAccess Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter False Get-NTFSAccess SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter False Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] Security2.IdentityReference2 Security2.FileSystemAccessRule2 -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-NTFSAudit Get NTFSAudit {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-NTFSAudit Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter False Get-NTFSAudit SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter False Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] Security2.IdentityReference2 Security2.FileSystemAuditRule2 -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-NTFSEffectiveAccess Get NTFSEffectiveAccess {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-NTFSEffectiveAccess Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeNoneAccessEntries {{ Fill ExcludeNoneAccessEntries Description }} SwitchParameter False ServerName {{ Fill ServerName Description }} String String None Get-NTFSEffectiveAccess SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeNoneAccessEntries {{ Fill ExcludeNoneAccessEntries Description }} SwitchParameter False ServerName {{ Fill ServerName Description }} String String None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeNoneAccessEntries {{ Fill ExcludeNoneAccessEntries Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None ServerName {{ Fill ServerName Description }} String String None System.String[] Security2.FileSystemSecurity2[] Security2.IdentityReference2 Security2.FileSystemAccessRule2 -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-NTFSHardLink Get NTFSHardLink {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-NTFSHardLink Path {{ Fill Path Description }} String[] String[] None Path {{ Fill Path Description }} String[] String[] None System.String[] Alphaleonis.Win32.Filesystem.FileInfo Alphaleonis.Win32.Filesystem.DirectoryInfo -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-NTFSInheritance Get NTFSInheritance {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-NTFSInheritance Path {{ Fill Path Description }} String[] String[] None Get-NTFSInheritance SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Path {{ Fill Path Description }} String[] String[] None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] Security2.FileSystemInheritanceInfo -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-NTFSOrphanedAccess Get NTFSOrphanedAccess {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-NTFSOrphanedAccess Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter False Get-NTFSOrphanedAccess SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter False Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] Security2.IdentityReference2 Security2.FileSystemAccessRule2 -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-NTFSOrphanedAudit Get NTFSOrphanedAudit {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-NTFSOrphanedAudit Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter False Get-NTFSOrphanedAudit SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter False Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] Security2.IdentityReference2 Security2.FileSystemAuditRule2 -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-NTFSOwner Get NTFSOwner {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-NTFSOwner Path {{ Fill Path Description }} String[] String[] None Get-NTFSOwner SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Path {{ Fill Path Description }} String[] String[] None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] Security2.FileSystemOwner -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-NTFSSecurityDescriptor Get NTFSSecurityDescriptor {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-NTFSSecurityDescriptor Path {{ Fill Path Description }} String[] String[] None Path {{ Fill Path Description }} String[] String[] None System.String[] Security2.FileSystemSecurity2 -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-NTFSSimpleAccess Get NTFSSimpleAccess {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-NTFSSimpleAccess Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter False IncludeRootFolder {{ Fill IncludeRootFolder Description }} SwitchParameter False Get-NTFSSimpleAccess SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter False IncludeRootFolder {{ Fill IncludeRootFolder Description }} SwitchParameter False Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None ExcludeExplicit {{ Fill ExcludeExplicit Description }} SwitchParameter SwitchParameter False ExcludeInherited {{ Fill ExcludeInherited Description }} SwitchParameter SwitchParameter False IncludeRootFolder {{ Fill IncludeRootFolder Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] Security2.IdentityReference2 Security2.SimpleFileSystemAccessRule -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Get-Privileges Get Privileges {{ Fill in the Synopsis }} {{ Fill in the Description }} Get-Privileges None ProcessPrivileges.PrivilegeAndAttributes -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Move-Item2 Move Item2 {{ Fill in the Synopsis }} {{ Fill in the Description }} Move-Item2 Path {{ Fill Path Description }} String[] String[] None Destination {{ Fill Destination Description }} String String None Confirm Prompts you for confirmation before running the cmdlet. SwitchParameter False Force {{ Fill Force Description }} SwitchParameter False PassThru {{ Fill PassThru Description }} Boolean Boolean None WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run. SwitchParameter False Confirm Prompts you for confirmation before running the cmdlet. SwitchParameter SwitchParameter False Destination {{ Fill Destination Description }} String String None Force {{ Fill Force Description }} SwitchParameter SwitchParameter False PassThru {{ Fill PassThru Description }} Boolean Boolean None Path {{ Fill Path Description }} String[] String[] None WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run. SwitchParameter SwitchParameter False System.String[] System.String System.Object -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} New-NTFSHardLink New NTFSHardLink {{ Fill in the Synopsis }} {{ Fill in the Description }} New-NTFSHardLink Path {{ Fill Path Description }} String String None Target {{ Fill Target Description }} String String None PassThru {{ Fill PassThru Description }} SwitchParameter False PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String String None Target {{ Fill Target Description }} String String None System.String Alphaleonis.Win32.Filesystem.FileInfo Alphaleonis.Win32.Filesystem.DirectoryInfo -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} New-NTFSSymbolicLink New NTFSSymbolicLink {{ Fill in the Synopsis }} {{ Fill in the Description }} New-NTFSSymbolicLink Path {{ Fill Path Description }} String String None Target {{ Fill Target Description }} String String None PassThru {{ Fill PassThru Description }} SwitchParameter False PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String String None Target {{ Fill Target Description }} String String None System.String Alphaleonis.Win32.Filesystem.FileInfo Alphaleonis.Win32.Filesystem.DirectoryInfo -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Remove-Item2 Remove Item2 {{ Fill in the Synopsis }} {{ Fill in the Description }} Remove-Item2 Path {{ Fill Path Description }} String[] String[] None Confirm Prompts you for confirmation before running the cmdlet. SwitchParameter False Force {{ Fill Force Description }} SwitchParameter False PassThur {{ Fill PassThur Description }} SwitchParameter False Recurse {{ Fill Recurse Description }} SwitchParameter False WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run. SwitchParameter False Confirm Prompts you for confirmation before running the cmdlet. SwitchParameter SwitchParameter False Force {{ Fill Force Description }} SwitchParameter SwitchParameter False PassThur {{ Fill PassThur Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None Recurse {{ Fill Recurse Description }} SwitchParameter SwitchParameter False WhatIf Shows what would happen if the cmdlet runs. The cmdlet is not run. SwitchParameter SwitchParameter False System.String[] System.Object -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Remove-NTFSAccess Remove NTFSAccess {{ Fill in the Synopsis }} {{ Fill in the Description }} Remove-NTFSAccess Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AccessRights {{ Fill AccessRights Description }} None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None AccessType {{ Fill AccessType Description }} Allow Deny AccessControlType AccessControlType None AppliesTo {{ Fill AppliesTo Description }} ThisFolderOnly ThisFolderSubfoldersAndFiles ThisFolderAndSubfolders ThisFolderAndFiles SubfoldersAndFilesOnly SubfoldersOnly FilesOnly ThisFolderSubfoldersAndFilesOneLevel ThisFolderAndSubfoldersOneLevel ThisFolderAndFilesOneLevel SubfoldersAndFilesOnlyOneLevel SubfoldersOnlyOneLevel FilesOnlyOneLevel ApplyTo ApplyTo None PassThru {{ Fill PassThru Description }} SwitchParameter False Remove-NTFSAccess SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AccessRights {{ Fill AccessRights Description }} None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None AccessType {{ Fill AccessType Description }} Allow Deny AccessControlType AccessControlType None AppliesTo {{ Fill AppliesTo Description }} ThisFolderOnly ThisFolderSubfoldersAndFiles ThisFolderAndSubfolders ThisFolderAndFiles SubfoldersAndFilesOnly SubfoldersOnly FilesOnly ThisFolderSubfoldersAndFilesOneLevel ThisFolderAndSubfoldersOneLevel ThisFolderAndFilesOneLevel SubfoldersAndFilesOnlyOneLevel SubfoldersOnlyOneLevel FilesOnlyOneLevel ApplyTo ApplyTo None PassThru {{ Fill PassThru Description }} SwitchParameter False Remove-NTFSAccess Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AccessRights {{ Fill AccessRights Description }} None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None AccessType {{ Fill AccessType Description }} Allow Deny AccessControlType AccessControlType None InheritanceFlags {{ Fill InheritanceFlags Description }} None ContainerInherit ObjectInherit InheritanceFlags InheritanceFlags None PassThru {{ Fill PassThru Description }} SwitchParameter False PropagationFlags {{ Fill PropagationFlags Description }} None NoPropagateInherit InheritOnly PropagationFlags PropagationFlags None Remove-NTFSAccess SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AccessRights {{ Fill AccessRights Description }} None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None AccessType {{ Fill AccessType Description }} Allow Deny AccessControlType AccessControlType None InheritanceFlags {{ Fill InheritanceFlags Description }} None ContainerInherit ObjectInherit InheritanceFlags InheritanceFlags None PassThru {{ Fill PassThru Description }} SwitchParameter False PropagationFlags {{ Fill PropagationFlags Description }} None NoPropagateInherit InheritOnly PropagationFlags PropagationFlags None AccessRights {{ Fill AccessRights Description }} FileSystemRights2 FileSystemRights2 None AccessType {{ Fill AccessType Description }} AccessControlType AccessControlType None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AppliesTo {{ Fill AppliesTo Description }} ApplyTo ApplyTo None InheritanceFlags {{ Fill InheritanceFlags Description }} InheritanceFlags InheritanceFlags None PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None PropagationFlags {{ Fill PropagationFlags Description }} PropagationFlags PropagationFlags None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] Security2.IdentityReference2[] Security2.FileSystemRights2 System.Security.AccessControl.AccessControlType System.Security.AccessControl.InheritanceFlags System.Security.AccessControl.PropagationFlags Security2.ApplyTo Security2.FileSystemAccessRule2 -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Remove-NTFSAudit Remove NTFSAudit {{ Fill in the Synopsis }} {{ Fill in the Description }} Remove-NTFSAudit Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AccessRights {{ Fill AccessRights Description }} None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None AppliesTo {{ Fill AppliesTo Description }} ThisFolderOnly ThisFolderSubfoldersAndFiles ThisFolderAndSubfolders ThisFolderAndFiles SubfoldersAndFilesOnly SubfoldersOnly FilesOnly ThisFolderSubfoldersAndFilesOneLevel ThisFolderAndSubfoldersOneLevel ThisFolderAndFilesOneLevel SubfoldersAndFilesOnlyOneLevel SubfoldersOnlyOneLevel FilesOnlyOneLevel ApplyTo ApplyTo None AuditFlags {{ Fill AuditFlags Description }} None Success Failure AuditFlags AuditFlags None PassThru {{ Fill PassThru Description }} SwitchParameter False Remove-NTFSAudit SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AccessRights {{ Fill AccessRights Description }} None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None AppliesTo {{ Fill AppliesTo Description }} ThisFolderOnly ThisFolderSubfoldersAndFiles ThisFolderAndSubfolders ThisFolderAndFiles SubfoldersAndFilesOnly SubfoldersOnly FilesOnly ThisFolderSubfoldersAndFilesOneLevel ThisFolderAndSubfoldersOneLevel ThisFolderAndFilesOneLevel SubfoldersAndFilesOnlyOneLevel SubfoldersOnlyOneLevel FilesOnlyOneLevel ApplyTo ApplyTo None AuditFlags {{ Fill AuditFlags Description }} None Success Failure AuditFlags AuditFlags None PassThru {{ Fill PassThru Description }} SwitchParameter False Remove-NTFSAudit Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AccessRights {{ Fill AccessRights Description }} None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None AuditFlags {{ Fill AuditFlags Description }} None Success Failure AuditFlags AuditFlags None InheritanceFlags {{ Fill InheritanceFlags Description }} None ContainerInherit ObjectInherit InheritanceFlags InheritanceFlags None PassThru {{ Fill PassThru Description }} SwitchParameter False PropagationFlags {{ Fill PropagationFlags Description }} None NoPropagateInherit InheritOnly PropagationFlags PropagationFlags None Remove-NTFSAudit SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AccessRights {{ Fill AccessRights Description }} None ReadData ListDirectory WriteData CreateFiles AppendData CreateDirectories ReadExtendedAttributes WriteExtendedAttributes ExecuteFile Traverse DeleteSubdirectoriesAndFiles ReadAttributes WriteAttributes Write Delete ReadPermissions Read ReadAndExecute Modify ChangePermissions TakeOwnership Synchronize FullControl GenericAll GenericExecute GenericWrite GenericRead FileSystemRights2 FileSystemRights2 None AuditFlags {{ Fill AuditFlags Description }} None Success Failure AuditFlags AuditFlags None InheritanceFlags {{ Fill InheritanceFlags Description }} None ContainerInherit ObjectInherit InheritanceFlags InheritanceFlags None PassThru {{ Fill PassThru Description }} SwitchParameter False PropagationFlags {{ Fill PropagationFlags Description }} None NoPropagateInherit InheritOnly PropagationFlags PropagationFlags None AccessRights {{ Fill AccessRights Description }} FileSystemRights2 FileSystemRights2 None Account {{ Fill Account Description }} IdentityReference2[] IdentityReference2[] None AppliesTo {{ Fill AppliesTo Description }} ApplyTo ApplyTo None AuditFlags {{ Fill AuditFlags Description }} AuditFlags AuditFlags None InheritanceFlags {{ Fill InheritanceFlags Description }} InheritanceFlags InheritanceFlags None PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None PropagationFlags {{ Fill PropagationFlags Description }} PropagationFlags PropagationFlags None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] Security2.IdentityReference2[] Security2.FileSystemRights2 System.Security.AccessControl.AuditFlags System.Security.AccessControl.InheritanceFlags System.Security.AccessControl.PropagationFlags Security2.ApplyTo Security2.FileSystemAccessRule2 -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Set-NTFSInheritance Set NTFSInheritance {{ Fill in the Synopsis }} {{ Fill in the Description }} Set-NTFSInheritance Path {{ Fill Path Description }} String[] String[] None AccessInheritanceEnabled {{ Fill AccessInheritanceEnabled Description }} Boolean Boolean None AuditInheritanceEnabled {{ Fill AuditInheritanceEnabled Description }} Boolean Boolean None PassThru {{ Fill PassThru Description }} SwitchParameter False Set-NTFSInheritance SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None AccessInheritanceEnabled {{ Fill AccessInheritanceEnabled Description }} Boolean Boolean None AuditInheritanceEnabled {{ Fill AuditInheritanceEnabled Description }} Boolean Boolean None PassThru {{ Fill PassThru Description }} SwitchParameter False AccessInheritanceEnabled {{ Fill AccessInheritanceEnabled Description }} Boolean Boolean None AuditInheritanceEnabled {{ Fill AuditInheritanceEnabled Description }} Boolean Boolean None PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] System.Object -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Set-NTFSOwner Set NTFSOwner {{ Fill in the Synopsis }} {{ Fill in the Description }} Set-NTFSOwner Path {{ Fill Path Description }} String[] String[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None PassThru {{ Fill PassThru Description }} SwitchParameter False Set-NTFSOwner SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None PassThru {{ Fill PassThru Description }} SwitchParameter False Account {{ Fill Account Description }} IdentityReference2 IdentityReference2 None PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False Path {{ Fill Path Description }} String[] String[] None SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None System.String[] Security2.FileSystemSecurity2[] Security2.IdentityReference2 Security2.FileSystemOwner -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Set-NTFSSecurityDescriptor Set NTFSSecurityDescriptor {{ Fill in the Synopsis }} {{ Fill in the Description }} Set-NTFSSecurityDescriptor SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None PassThru {{ Fill PassThru Description }} SwitchParameter False PassThru {{ Fill PassThru Description }} SwitchParameter SwitchParameter False SecurityDescriptor {{ Fill SecurityDescriptor Description }} FileSystemSecurity2[] FileSystemSecurity2[] None Security2.FileSystemSecurity2[] Security2.FileSystemSecurity2 -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }} Test-Path2 Test Path2 {{ Fill in the Synopsis }} {{ Fill in the Description }} Test-Path2 Path {{ Fill Path Description }} String[] String[] None PathType {{ Fill PathType Description }} Any Container Leaf TestPathType TestPathType None Path {{ Fill Path Description }} String[] String[] None PathType {{ Fill PathType Description }} TestPathType TestPathType None System.String[] NTFSSecurity.TestPathType Alphaleonis.Win32.Filesystem.FileInfo Alphaleonis.Win32.Filesystem.DirectoryInfo -------------------------- Example 1 -------------------------- PS C:\> {{ Add example code here }} {{ Add example description here }}