From 72e0de3345f073590c55c464563b865bbe8b42ae Mon Sep 17 00:00:00 2001 From: Priyam Selugar <108355091+pselugar@users.noreply.github.com> Date: Wed, 6 Jul 2022 11:42:42 -0400 Subject: [PATCH 1/4] Added -Location parameter to Set- AzVMRunCommand --- src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md b/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md index dbe10c9e6deb..86b960238e45 100644 --- a/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md +++ b/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md @@ -1,10 +1,10 @@ ### Example 1: Simple Example ```powershell -PS C:\> Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -RunCommandName 'firstruncommand' +PS C:\> Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -Location $locationname -RunCommandName 'firstruncommand' Location Name Type -------- ---- ---- -eastus firstruncommand2 Microsoft.Compute/virtualMachines/runCommands +eastus firstruncommand Microsoft.Compute/virtualMachines/runCommands ``` -The Set-AzVMRunCommand cmdlet updates properties for existing run command or adds a new run command to a virtual machine. \ No newline at end of file +The Set-AzVMRunCommand cmdlet updates properties for existing run command or adds a new run command to a virtual machine. From 61ecdf437054abbead9245e74e0879a27e850ad4 Mon Sep 17 00:00:00 2001 From: Beisi Zhou Date: Thu, 7 Jul 2022 14:37:11 +0800 Subject: [PATCH 2/4] Update src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md --- src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md b/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md index 86b960238e45..ad3015c8a0d2 100644 --- a/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md +++ b/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md @@ -1,6 +1,6 @@ ### Example 1: Simple Example ```powershell -PS C:\> Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -Location $locationname -RunCommandName 'firstruncommand' +Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -Location $location -RunCommandName 'firstruncommand' Location Name Type -------- ---- ---- From 8bfa1018e1211abcc1c41a1b51fae01432f9097a Mon Sep 17 00:00:00 2001 From: Priyam Selugar <108355091+pselugar@users.noreply.github.com> Date: Thu, 7 Jul 2022 11:11:50 -0400 Subject: [PATCH 3/4] Fixed typos --- src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md b/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md index ad3015c8a0d2..ececeac6e0d8 100644 --- a/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md +++ b/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md @@ -1,6 +1,6 @@ ### Example 1: Simple Example ```powershell -Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -Location $location -RunCommandName 'firstruncommand' +pPS C: Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -Location 'eastus' -RunCommandName 'firstruncommand' Location Name Type -------- ---- ---- From 177f9d91c05117e777a3daa9f53637a61ff6a8a0 Mon Sep 17 00:00:00 2001 From: Priyam Selugar <108355091+pselugar@users.noreply.github.com> Date: Thu, 7 Jul 2022 11:12:52 -0400 Subject: [PATCH 4/4] Fixed typo --- src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md b/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md index ececeac6e0d8..cce9c6484edd 100644 --- a/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md +++ b/src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md @@ -1,6 +1,6 @@ ### Example 1: Simple Example ```powershell -pPS C: Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -Location 'eastus' -RunCommandName 'firstruncommand' +PS C:\> Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -Location 'eastus' -RunCommandName 'firstruncommand' Location Name Type -------- ---- ----