Set Acl
NAME Set-Acl
SYNTAX
Set-Acl [-Path]
Set-Acl [-InputObject] <psobject> [-AclObject] <Object> [-Passthru] [-Filter <string>] [-Include <string[]>] [-Exclude <string[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-Acl [-AclObject] <Object> -LiteralPath <string[]> [-ClearCentralAccessPolicy] [-Passthru] [-Filter <string>] [-Include <string[]>] [-Exclude <string[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
PARAMETERS -AclObject
Required? true
Position? 1
Accept pipeline input? true (ByValue)
Parameter set name ByPath, ByLiteralPath, ByInputObject
Aliases None
Dynamic? false
Accept wildcard characters? false
-ClearCentralAccessPolicy
Required? false
Position? Named
Accept pipeline input? false
Parameter set name ByPath, ByLiteralPath
Aliases None
Dynamic? false
Accept wildcard characters? false
-Confirm
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases cf
Dynamic? false
Accept wildcard characters? false
-Exclude <string[]>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Filter <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Include <string[]>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-InputObject <psobject>
Required? true
Position? 0
Accept pipeline input? true (ByPropertyName)
Parameter set name ByInputObject
Aliases None
Dynamic? false
Accept wildcard characters? false
-LiteralPath <string[]>
Required? true
Position? Named
Accept pipeline input? true (ByPropertyName)
Parameter set name ByLiteralPath
Aliases PSPath, LP
Dynamic? false
Accept wildcard characters? false
-Passthru
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
Accept wildcard characters? false
-Path <string[]>
Required? true
Position? 0
Accept pipeline input? true (ByPropertyName)
Parameter set name ByPath
Aliases None
Dynamic? false
Accept wildcard characters? false
-WhatIf
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases wi
Dynamic? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS System.String[] System.Management.Automation.PSObject System.Object
OUTPUTS System.Security.AccessControl.FileSecurity
ALIASES None
REMARKS Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help. -- To download and install Help files for the module that includes this cmdlet, use Update-Help. -- To view the Help topic for this cmdlet online, type: "Get-Help Set-Acl -Online" or go to https://go.microsoft.com/fwlink/?LinkID=2096600.