Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing -WhatIf parameter #11714

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 3 additions & 18 deletions teams/teams-ps/teams/Grant-CsOnlineVoiceRoutingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ Assigns a per-user online voice routing policy to one user, a group of users, or

### Identity (Default)
```
Grant-CsOnlineVoiceRoutingPolicy [[-Identity] <string>] [[-PolicyName] <string>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Grant-CsOnlineVoiceRoutingPolicy [[-Identity] <string>] [[-PolicyName] <string>] [-PassThru] [-Confirm] [<CommonParameters>]
```

### GrantToTenant
```
Grant-CsOnlineVoiceRoutingPolicy [[-PolicyName] <string>] [-PassThru] [-Global] [-WhatIf] [-Confirm] [<CommonParameters>]
Grant-CsOnlineVoiceRoutingPolicy [[-PolicyName] <string>] [-PassThru] [-Global] [-Confirm] [<CommonParameters>]
```

### GrantToGroup
```
Grant-CsOnlineVoiceRoutingPolicy [-Group] <string> [[-PolicyName] <string>] [-PassThru] [-Rank <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
Grant-CsOnlineVoiceRoutingPolicy [-Group] <string> [[-PolicyName] <string>] [-PassThru] [-Rank <int>] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -168,21 +168,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Confirm
Prompts you for confirmation before running the cmdlet.
Expand Down
22 changes: 3 additions & 19 deletions teams/teams-ps/teams/Grant-CsTeamsCallingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ Assigns a specific Teams Calling Policy to a user, a group of users, or sets the

### Identity (Default)
```
Grant-CsTeamsCallingPolicy [[-Identity] <string>] [[-PolicyName] <string>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Grant-CsTeamsCallingPolicy [[-Identity] <string>] [[-PolicyName] <string>] [-PassThru] [-Confirm] [<CommonParameters>]
```

### GrantToTenant
```
Grant-CsTeamsCallingPolicy [[-PolicyName] <string>] [-PassThru] [-Global] [-WhatIf] [-Confirm] [<CommonParameters>]
Grant-CsTeamsCallingPolicy [[-PolicyName] <string>] [-PassThru] [-Global] [-Confirm] [<CommonParameters>]
```

### GrantToGroup
```
Grant-CsTeamsCallingPolicy [-Group] <string> [[-PolicyName] <string>] [-PassThru] [-Rank <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
Grant-CsTeamsCallingPolicy [-Group] <string> [[-PolicyName] <string>] [-PassThru] [-Rank <int>] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -153,22 +153,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Confirm
Prompts you for confirmation before running the cmdlet.

Expand Down
23 changes: 3 additions & 20 deletions teams/teams-ps/teams/Grant-CsTeamsMeetingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ Assigns a teams meeting policy at the per-user scope. The CsTeamsMeetingPolicy c
### GrantToTenant (Default)
```
Grant-CsTeamsMeetingPolicy [-Global] [-PassThru] [[-PolicyName] <String>]
[-WhatIf] [-Confirm] [<CommonParameters>]
[-Confirm] [<CommonParameters>]
```

### GrantToGroup
```
Grant-CsTeamsMeetingPolicy [-PassThru] [[-PolicyName] <String>]
-Group <String> [-Rank <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
-Group <String> [-Rank <Int32>] [-Confirm] [<CommonParameters>]
```

### Identity
```
Grant-CsTeamsMeetingPolicy [-PassThru] [[-PolicyName] <String>]
[[-Identity] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
[[-Identity] <String>] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -188,23 +188,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
applicable: Microsoft Teams

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
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/?LinkID=113216).`

Expand Down
22 changes: 3 additions & 19 deletions teams/teams-ps/teams/Grant-CsTeamsUpgradePolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ TeamsUpgradePolicy allows administrators to manage the transition from Skype for
### Identity (Default)
```
Grant-CsTeamsUpgradePolicy [[-Identity] <String>] [-MigrateMeetingsToTeams <Boolean>] [-PassThru]
[[-PolicyName] <String>] [-MsftInternalProcessingMode <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
[[-PolicyName] <String>] [-MsftInternalProcessingMode <String>] [-Confirm] [<CommonParameters>]
```

### GrantToTenant
```
Grant-CsTeamsUpgradePolicy [-MigrateMeetingsToTeams <Boolean>] [-PassThru] [[-PolicyName] <String>]
[-MsftInternalProcessingMode <String>] [-Force] [-Global] [-WhatIf] [-Confirm] [<CommonParameters>]
[-MsftInternalProcessingMode <String>] [-Force] [-Global] [-Confirm] [<CommonParameters>]
```

### GrantToGroup
```
Grant-CsTeamsUpgradePolicy [-MigrateMeetingsToTeams <Boolean>] [-PassThru] [[-PolicyName] <String>]
[-MsftInternalProcessingMode <String>] -Group <String> [-Rank <Int32>] [-WhatIf] [-Confirm]
[-MsftInternalProcessingMode <String>] -Group <String> [-Rank <Int32>] [-Confirm]
[<CommonParameters>]
```

Expand Down Expand Up @@ -324,22 +324,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```


## INPUTS

Expand Down
22 changes: 3 additions & 19 deletions teams/teams-ps/teams/Grant-CsTenantDialPlan.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ Use the Grant-CsTenantDialPlan cmdlet to assign an existing tenant dial plan to

### GrantToTenant (Default)
```
Grant-CsTenantDialPlan [[-PolicyName] <string>] [-Global] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Grant-CsTenantDialPlan [[-PolicyName] <string>] [-Global] [-PassThru] [-Confirm] [<CommonParameters>]
```

### GrantToGroup
```
Grant-CsTenantDialPlan [-Group] <string> [[-PolicyName] <string>] [-PassThru] [-Rank <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
Grant-CsTenantDialPlan [-Group] <string> [[-PolicyName] <string>] [-PassThru] [-Rank <int>] [-Confirm] [<CommonParameters>]
```

### Identity
```
Grant-CsTenantDialPlan [[-Identity] <string>] [[-PolicyName] <string>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Grant-CsTenantDialPlan [[-Identity] <string>] [[-PolicyName] <string>] [-PassThru] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -163,22 +163,6 @@ Accept pipeline input: True
Accept wildcard characters: False
```

### -WhatIf
The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Applicable: Microsoft Teams

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Confirm
The Confirm switch causes the command to pause processing, and requires confirmation to proceed.

Expand Down