You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
he Block parameter blocks the feature specified by the FeatureID parameter.
101
+
The Block switch blocks the feature specified by the FeatureID parameter. You don't need to specify a value with this switch.
100
102
101
103
```yaml
102
104
Type: SwitchParameter
@@ -111,6 +113,25 @@ Accept pipeline input: False
111
113
Accept wildcard characters: False
112
114
```
113
115
116
+
### -Confirm
117
+
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.
118
+
119
+
- 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`.
120
+
- 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.
121
+
122
+
```yaml
123
+
Type: SwitchParameter
124
+
Parameter Sets: (All)
125
+
Aliases: cf
126
+
Applicable: Exchange Server 2019
127
+
128
+
Required: False
129
+
Position: Named
130
+
Default value: None
131
+
Accept pipeline input: False
132
+
Accept wildcard characters: False
133
+
```
134
+
114
135
### -FeatureID
115
136
The FeatureID parameter specifies the feature you want to control.
116
137
@@ -127,6 +148,22 @@ Accept pipeline input: False
127
148
Accept wildcard characters: False
128
149
```
129
150
151
+
### -WhatIf
152
+
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.
153
+
154
+
```yaml
155
+
Type: SwitchParameter
156
+
Parameter Sets: (All)
157
+
Aliases: wi
158
+
Applicable: Exchange Server 2019
159
+
160
+
Required: False
161
+
Position: Named
162
+
Default value: None
163
+
Accept pipeline input: False
164
+
Accept wildcard characters: False
165
+
```
166
+
130
167
### CommonParameters
131
168
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).
0 commit comments