Azure / Azure/azure-powershell

`Remove-AzVMSqlServerExtension` does not have a `Force` parameter.

Open
#24,030 4 comments 0 reactions 1 assignee Assigned to @SeliuMSFT View on GitHub
act-codegen-extensibility-squad bug Compute - Extensions Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

When I try to run `Remove-AzVMSqlServerExtension`, it will prompt a "shouldContinue" message like below.
```powershell
>Remove-AzVMSqlServerExtension -ResourceGroupName 'kknrgcleuy' -VMName 'qigslrtyeb' -Name 'ivlqxmcnua'

Virtual machine extension removal operation
This cmdlet will remove the specified virtual machine extension. Do you want to continue?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):
```

Cmdlet `Remove-AzVMSqlServerExtension` does not have a parameter `Force`, which should not be.
Please add the necessary parameters.

### Issue script & Debug output

```PowerShell
N/A
```

### Environment data

```PowerShell
> $PSVersionTable

Name Value
---- -----
PSVersion 7.3.11
PSEdition Core
GitCommitId 7.3.11
OS Microsoft Windows 10.0.22631
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
```

### Module versions

```PowerShell
> Get-Module Az.*

ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 2.13.2 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…}
Script 6.3.0 Az.Compute {Add-AzImageDataDisk, Add-AzVhd, Add-AzVMAdditionalUnattendContent, Add-AzVMDataDisk…}
```

### Error output

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.