Migrate Application Gateway V1 to V2 through script - receiving error

JohnC92 0 Reputation points
2024-04-08T10:54:41.3133333+00:00

Hello,

We are still running Azure Application Gateways on V1. As V1 will be retired soon, we would like to upgrade them to V2 through the migration script that Microsoft provided here.

Through my local PowerShell I firstly ran the command "Connect-AzAccount" and logged in with my Azure account.
Then I imported the Azure modules by running "Import-Module Az".

Then, I executed the command "Set-AzContext -Subscription '<V1 application gateway SubscriptionId>'" where I entered my V1 application gateway Subscription ID.

The next step in the tutorial states "Run Get-Help AzureAppGWMigration.ps1 to examine the required parameters".
However, when I run this command, I receive the following error:

Get-Help : Get-Help could not find AzureAppGWMigration.ps1 in a help file in this session. To download updated help

topics type: "Update-Help". To get help online, search for the help topic in the TechNet library at

https:/go.microsoft.com/fwlink/?LinkID=107116.

At line:1 char:1

+ Get-Help AzureAppGWMigration.ps1

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [Get-Help], HelpNotFoundException + FullyQualifiedErrorId : HelpNotFound,Microsoft.PowerShell.Commands.GetHelpCommand

Does anyone know how I can fix this?
I already tried the "Update-Help", but after that I receive the same error again.

Thank you in advance.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
958 questions
{count} votes