Azure / azure-powershell-migration

Tools and resources to help migrate PowerShell scripts between incompatible versions of Az and AzureRM modules
MIT License
35 stars 18 forks source link

aztools/Az.Tools.Migration/New-AzUpgradeModulePlan.md - -ToAzVersion wrong info #130

Closed mikefrobbins closed 11 months ago

mikefrobbins commented 11 months ago

Prerequisites

Links

https://github.com/Azure/azure-powershell-migration/blob/main/powershell-module/help/New-AzUpgradeModulePlan.md

Summary

In the docs we say: "-ToAzVersion Specifies the Az module version to upgrade to. Currently, only Az version 10.3 is supported."

But on the samples we have -ToAzVersion latest everywhere and the latest version is the 11 https://www.powershellgallery.com/packages/Az/11.0.0

The doc should say something like " only Az version after 10.3 is supported, you can use latest for the latest version"

Details

In the docs we say: "-ToAzVersion Specifies the Az module version to upgrade to. Currently, only Az version 10.3 is supported."

But on the samples we have -ToAzVersion latest everywhere and the latest version is the 11 https://www.powershellgallery.com/packages/Az/11.0.0

The doc should say something like " only Az version after 10.3 is supported, you can use latest for the latest version"

Suggested Fix

The doc should say something like " only Az version after 10.3 is supported, you can use latest for the latest version"

mikefrobbins commented 11 months ago

This issue was originally logged in the azure-docs-powershell repo: MicrosoftDocs/azure-docs-powershell#2819. It's being moved to this repo because the article is autogenerated reference content and the source resides in this repo. Please follow-up with @hribeiro-msft if you have any questions.