Azure / Azure/azure-powershell

[Az.DesktopVirtualization] Get-AzWvdApplication has inappropriate parameters from auto generation

Open
#21,370 4 comments 0 reactions 1 assignee Claimed by @dolauli View on GitHub
Azure PS Team feature-request
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

If you run help for the cmdlet you have a parameters form the REST API which are not correct for PowerShell:

`help Get-AzWvdApplication -Full`

[-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy
] [-ProxyCredential ] [-ProxyUseDefaultCredentials]

These are undocumented and have unknown function, but are present due to auto generation.

### Issue script & Debug output

```PowerShell
N/A
```

### Environment data

```PowerShell
Name Value
---- -----
PSVersion 7.3.3
PSEdition Core
GitCommitId 7.3.3
OS Microsoft Windows 10.0.22621
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
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 2.12.1 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…}
Script 3.1.1 Az.DesktopVirtualization {Disconnect-AzWvdUserSession, Expand-AzWvdMsixImage, Get-AzWvdApplication, Get-AzWvdApplicationGroup…}
```

### Error output

```PowerShell
N/A
```

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.