Remove-CAAuthorityInformationAccess

Remove-CAAuthorityInformationAccess is accessible with the help of adcsadministration module. To install adcsadministration on your system please refer to this link.

Synopsis
Removes authority information access (AIA) or Online Certificate Status Protocol (OCSP) URI from the AIA extension set on the certification authority.

Description
The Remove-CAAuthorityInformationAccess cmdlet removes the Authority Information Access (AIA) or Online Certificate Status Protocol (OCSP) URI from the AIA extension set on the certification authority.

Parameters

-AddToCertificateAia 
         This switch indicates the Authority Information Access (AIA) uniform resource information (URI).

    Required?                    false
    Position?                    named
    Default value                
    Accept pipeline input?       true (ByPropertyName)
    Accept wildcard characters?  false

-AddToCertificateOcsp <SwitchParameter>
    This switch indicates an Online Responder's uniform resource information (URI).

    Required?                    false
    Position?                    named
    Default value                
    Accept pipeline input?       true (ByPropertyName)
    Accept wildcard characters?  false

-Force <SwitchParameter>
    Forces the command to run without asking for user confirmation.

    Required?                    false
    Position?                    named
    Default value                
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Uri <String>
    Specifies the uniform resource identifier (URI) from where the certificate for the certification authority (CA) can be downloaded or the online responder information can be obtained. This information is added to the CA properties and registry.

    Required?                    true
    Position?                    2
    Default value                
    Accept pipeline input?       true (ByValue, ByPropertyName)
    Accept wildcard characters?  false

Syntax

Remove-CAAuthorityInformationAccess [-Uri]  [-AddToCertificateAia ] [-Force ] []
Remove-CAAuthorityInformationAccess [-Uri] <String> [-AddToCertificateOcsp ] [-Force ] [<CommonParameters>]

Notes
You must be a member of Enterprise Admins group to successfully run this command.

————————– EXAMPLE 1 ————————–
C:\PS>Remove-CAAuthorityInformationAccess -uri “http://www.TOSSolution.com/pki/orca1.crt” -AddToCertificateAIA
Removes Authority Information Access (AIA) for the specified uniform resource identifier (URI) of ‘http://www.TOSSolution.com/pki/orca1.crt’.

————————– EXAMPLE 2 ————————–
C:\PS>Remove-CAAuthorityInformationAccess -uri “http://www.TOSSolution.com/ocsp/” -AddToCertificateOCSP
Removes the Online Certificate Status Protocol (OCSP) for the specified uniform resource identifier (URI) of ‘http://www.TOSSolution.com/ocsp’.

————————– EXAMPLE 3 ————————–
C:\PS>Remove-CAAuthorityInformationAccess -uri “http://www.TOSSolution.com/pki/orca1.crt”
Removes all AIA and OCSP entries that match the URL ‘http://www.TOSSolution.com/pki/orca1.crt’.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Remove-CAAuthorityInformationAccess

Remove-CAAuthorityInformationAccess powershell script

You can also read about
Add-CAAuthorityInformationAccess
Get-CAAuthorityInformationAccess

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *