Skip to content

Commit 4833c15

Browse files
authored
Merge pull request #8441 from alexandair/patch-3
Fix the header, example, and some typos
2 parents 7231236 + f20e3a4 commit 4833c15

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Compute/Compute/help/Invoke-AzVMRunCommand.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.Compute.dll-Help.xml
33
Module Name: Az.Compute
44
online version: https://docs.microsoft.com/en-us/powershell/module/az.compute/invoke-azvmruncommand
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Invoke-AzVMRunCommand
99

1010
## SYNOPSIS
11-
Run command on the VM.
11+
Run a command on the VM.
1212

1313
## SYNTAX
1414

@@ -40,15 +40,15 @@ Invoke a run command on the VM.
4040

4141
### Example 1
4242
```
43-
PS C:\> Invoke-AzVMRunCommand -ResourceGroupName 'rgname' -Name 'vmname' -CommandId 'RunPowerShellScript' -ScriptPath 'sample.ps1' -Parameter @{"arg1" = "var1";"arg2" = "var2"}
43+
PS C:\> Invoke-AzVMRunCommand -ResourceGroupName 'rgname' -Name 'vmname' -CommandId 'RunPowerShellScript' -ScriptPath 'sample.ps1' -Parameter @{param1 = "var1"; param2 = "var2"}
4444
```
4545

4646
Invoke a run command of RunPowerShellScript with overriding the script 'sample.ps1' and the parameters on the VM of 'vmname' in resource group 'rgname'.
4747

4848
## PARAMETERS
4949

5050
### -AsJob
51-
Run cmdlet in the background and return a Job to track progress.
51+
Run cmdlet in the background and return a job object to track progress.
5252

5353
```yaml
5454
Type: System.Management.Automation.SwitchParameter
@@ -63,7 +63,7 @@ Accept wildcard characters: False
6363
```
6464
6565
### -CommandId
66-
The run command id.
66+
The run command ID.
6767
6868
```yaml
6969
Type: System.String
@@ -78,7 +78,7 @@ Accept wildcard characters: False
7878
```
7979
8080
### -DefaultProfile
81-
The credentials, account, tenant, and subscription used for communication with azure.
81+
The credentials, account, tenant, and subscription used for communication with Azure.
8282
8383
```yaml
8484
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
@@ -123,7 +123,7 @@ Accept wildcard characters: False
123123
```
124124
125125
### -ResourceId
126-
The resource id for the VM
126+
The resource ID for the VM.
127127
128128
```yaml
129129
Type: System.String
@@ -153,7 +153,7 @@ Accept wildcard characters: False
153153
```
154154
155155
### -VM
156-
The PS virtual Machine Object.
156+
The PS virtual machine object.
157157
158158
```yaml
159159
Type: Microsoft.Azure.Commands.Compute.Models.PSVirtualMachine

0 commit comments

Comments
 (0)