Skip to content

Commit 8432f73

Browse files
authored
Update Test-ServicePrincipalAuthorization.md
1 parent e111675 commit 8432f73

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

exchange/exchange-ps/exchange/Test-ServicePrincipalAuthorization.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,41 @@ Accept pipeline input: True (ByPropertyName, ByValue)
6565
Accept wildcard characters: False
6666
```
6767
68+
### -Confirm
69+
The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding.
70+
71+
- Destructive cmdlets (for example, Remove-\* cmdlets) have a built-in pause that forces you to acknowledge the command before proceeding. For these cmdlets, you can skip the confirmation prompt by using this exact syntax: `-Confirm:$false`.
72+
- Most other cmdlets (for example, New-\* and Set-\* cmdlets) don't have a built-in pause. For these cmdlets, specifying the Confirm switch without a value introduces a pause that forces you acknowledge the command before proceeding.
73+
74+
```yaml
75+
Type: SwitchParameter
76+
Parameter Sets: (All)
77+
Aliases: cf
78+
Applicable: Exchange Online
79+
80+
Required: False
81+
Position: Named
82+
Default value: None
83+
Accept pipeline input: False
84+
Accept wildcard characters: False
85+
```
86+
87+
### -Organization
88+
This parameter is reserved for internal Microsoft use.
89+
90+
```yaml
91+
Type: OrganizationIdParameter
92+
Parameter Sets: (All)
93+
Aliases:
94+
Applicable: Exchange Online
95+
96+
Required: False
97+
Position: Named
98+
Default value: None
99+
Accept pipeline input: True (ByPropertyName, ByValue)
100+
Accept wildcard characters: False
101+
```
102+
68103
### -Resource
69104
The Resource parameter specifies the target mailbox where the scoped permissions apply. You can use any value that uniquely identifies the mailbox. For example:
70105

@@ -86,6 +121,22 @@ Accept pipeline input: True (ByPropertyName, ByValue)
86121
Accept wildcard characters: False
87122
```
88123

124+
### -WhatIf
125+
The WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would occur without actually applying those changes. You don't need to specify a value with this switch.
126+
127+
```yaml
128+
Type: SwitchParameter
129+
Parameter Sets: (All)
130+
Aliases: wi
131+
Applicable: Exchange Online
132+
133+
Required: False
134+
Position: Named
135+
Default value: None
136+
Accept pipeline input: False
137+
Accept wildcard characters: False
138+
```
139+
89140
### CommonParameters
90141
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).
91142

0 commit comments

Comments
 (0)