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

ERROR with 'my-azure-script.ps1' because it does not exist #138

Open
sid-13 opened this issue Feb 26, 2024 · 1 comment
Open

ERROR with 'my-azure-script.ps1' because it does not exist #138

sid-13 opened this issue Feb 26, 2024 · 1 comment

Comments

@sid-13
Copy link

sid-13 commented Feb 26, 2024

Component
[] PowerShell module
[] VSCode extension
[] Other

Description of the issue
Please provide a clear and concise description of the problem. Ex. When I do this ... I face this issue ...
The step while creating the plan, facing error with file path
$Plan = New-AzUpgradeModulePlan -FromAzureRmVersion 6.13.1 -ToAzVersion latest -FilePath 'C:\Scripts\my-azure-script.ps1'

I tried changing the path to 'C:\Program Files\WindowsPowerShell\Modules\Scripts\my-azure-script.ps1' as well

@isra-fel
Copy link
Member

isra-fel commented Mar 4, 2024

Hi. The -FilePath parameter represents an existing script file that utilizes AzureRM that you want to migrate to Az. Please make sure the script file exists before running the command.

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

No branches or pull requests

2 participants