Skip to content

Commit e95ac27

Browse files
Update adding_new_scripts.md
Updated `--custom-run-file` as it is now `--custom-script-file`: https://learn.microsoft.com/en-us/cli/azure/vm/repair?view=azure-cli-latest
1 parent 6076416 commit e95ac27

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/adding_new_scripts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Log functions:
4040
- There is a way to test local scripts with the CLI 'vm repair run' command
4141
```
4242
# Run directly on the VM
43-
az vm repair run -g MyResourceGroup -n MySourceWinVM --custom-run-file /folder/file.ps1 --verbose
43+
az vm repair run -g MyResourceGroup -n MySourceWinVM --custom-script-file /folder/file.ps1 --verbose
4444
# Run on linked repair VM
45-
az vm repair run -g MyResourceGroup -n MyWinVM --custom-run-file /folder/file.ps1 --run-on-repair --verbose
45+
az vm repair run -g MyResourceGroup -n MyWinVM --custom-script-file /folder/file.ps1 --run-on-repair --verbose
4646
```
4747
- Note that <b>parameter passing does not work</b> for local testing yet and script will throw error if done so.
4848

0 commit comments

Comments
 (0)