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

Incorrect commands listed in the "View the VM instances in a scale set" section #120528

Closed
zahnrad opened this issue Mar 7, 2024 · 3 comments
Closed

Comments

@zahnrad
Copy link

zahnrad commented Mar 7, 2024

The "View the VM instances in a scale set" section specifies the wrong Powershell commands. It says to use Get-AzVM but when you attempt to use that command to list VMs that are part of a scale set nothing is returned.

The command that should be used is Get-AzVmssVM and it also requires the -VMScaleSetName parameter to successfully list VMs.

(As a note, this issue also exists for the azure cli version of these instructions here.)


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@VikasPullagura-MSFT
Copy link
Contributor

@zahnrad
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@VikasPullagura-MSFT
Copy link
Contributor

@ju-shim
Can you please check and add your comments on this doc update request as applicable.

@tomvcassidy
Copy link
Contributor

Tested and was unable to reproduce issue as stated. VM information was listed as expected.

The alternative command suggested does also work.

#please-close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants