Removes existing Access Control Entry (ACE) from a Certification Authority's Access Control List (ACL) for a specified user account or group.
Remove-CertificationAuthorityAcl -InputObject <CertSrvSecurityDescriptor[]> -Identity <NTAccount[]> -AccessType <AccessControlType> [<CommonParameters>]
Remove-CertificationAuthorityAcl -InputObject <CertSrvSecurityDescriptor[]> -Force <SwitchParameter> [<CommonParameters>]
Removes existing Access Control Entry (ACE) from a Certification Authority's Access Control List (ACL) for a specified user account or group.
Specifies the current access control list (ACL) object to modify. This object can be retrieved by running Get-CertificationAuthorityAcl command.
Required? | True |
Position? | named |
Default value | |
Accept pipeline input? | True |
Accept wildcard characters? | False |
Specifies the AccessType to remove. The value can be either Allow or Deny. All Access Control Entries (ACE) with specified AccessType will be removed from ACL.
Required? | True |
Position? | named |
Default value | |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Removes all Access Control Entries from the current ACL.
Required? | True |
Position? | named |
Default value | |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Specifies user or group account name to remove from Certification Authority ACL.
Required? | True |
Position? | named |
Default value | |
Accept pipeline input? | False |
Accept wildcard characters? | False |
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216)
SysadminsLV.PKI.Security.AccessControl.CertSrvSecurityDescriptor
SysadminsLV.PKI.Security.AccessControl.CertSrvSecurityDescriptor
PS C:\> Get-CertificationAuthority "ca01.company.com" | Get-CertificationAuthorityAcl | Remove-CertificationAuthorityAcl -Identity "jsmith","JohnWayne" -AccessType Allow | Set-CertificationAuthorityAcl -RestartCA
This example retrieves current access control list from CA server installed on "ca01.company.com", removes all permissions explicitly granted to "John Smith" and "John Wayne" and writes modified ACL to CA configuration.
After command completion CA service will be restarted to immediately apply changes.