Skip to content

Commit 1297c6a

Browse files
committed
Add remove example to Remove cmdlet
1 parent eab5ed4 commit 1297c6a

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

docset/winserver2022-ps/adcsadministration/Remove-CAAuthorityInformationAccess.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,18 @@ PS C:\> Remove-CAAuthorityInformationAccess -Uri "http://www.contoso.com/pki/orc
5353

5454
This command removes all AIA and OCSP entries that match the URL `http://www.contoso.com/pki/orca1.crt`.
5555

56+
### Example 4: Remove all AIA entries
57+
58+
```powershell
59+
$AIA = Get-CAAuthorityInformationAccess
60+
$AIA | Remove-CAAuthorityInformationAccess
61+
```
62+
63+
This example removes all AIA entries
64+
65+
The first command gets the certificate authority information and stores the information in the variable named $AIA.
66+
67+
The second command removes all the AIA entries that are stored in the $AIA variable.
5668
## PARAMETERS
5769

5870
### -AddToCertificateAia
@@ -61,7 +73,7 @@ Indicates that the cmdlet adds the AIA URI.
6173
```yaml
6274
Type: SwitchParameter
6375
Parameter Sets: RemoveAsAIA
64-
Aliases:
76+
Aliases:
6577

6678
Required: False
6779
Position: Named
@@ -76,7 +88,7 @@ Indicates that the cmdlet adds an Online Responder's URI.
7688
```yaml
7789
Type: SwitchParameter
7890
Parameter Sets: RemoveAsOCSP
79-
Aliases:
91+
Aliases:
8092

8193
Required: False
8294
Position: Named
@@ -106,7 +118,7 @@ Forces the command to run without asking for user confirmation.
106118
```yaml
107119
Type: SwitchParameter
108120
Parameter Sets: (All)
109-
Aliases:
121+
Aliases:
110122

111123
Required: False
112124
Position: Named
@@ -122,7 +134,7 @@ This information is added to the CA properties and registry.
122134
```yaml
123135
Type: String
124136
Parameter Sets: (All)
125-
Aliases:
137+
Aliases:
126138

127139
Required: True
128140
Position: 1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy