Open sabuncumurat opened 2 months ago
@sabuncumurat Thanks for bringing this to our attention. I'm going to assign this to the document author so they can take a look at it accordingly.
@sandeepraichura Can you please check and add your comments on this doc update request as applicable.
Under section 'Your own gallery' it says:
When the
New-AzVM
command from the accompanying PowerShell code sampe is run, it does not create a public IP.(The code as shown is missing a backtick on the line where the
-Image
option is located but that's a typo and not the cause of the problem.)At the same time, the detailed full-parameter-set approach is not necessary either. You don't need to individually create the network pieces ahead of time. Simply naming them in the
New-AzVM
command is sufficient. If the named resource does not exist,New-AzVM
will create the missing resource.HTH.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.