Skip to content

Commit e62b4ae

Browse files
Merge branch 'preview' of https://github.com/Azure/azure-powershell into previewASR1
2 parents 147d8a3 + 65a956c commit e62b4ae

File tree

359 files changed

+2742728
-123371
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

359 files changed

+2742728
-123371
lines changed

src/Common/Commands.Common/MetricHelper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ private void LogExceptionEvent(AzurePSQoSEvent qos)
150150
LoadTelemetryClientContext(qos, client.Context);
151151
PopulatePropertiesFromQos(qos, eventProperties);
152152
// qos.Exception contains exception message which may contain Users specific data.
153-
// We should not collect users specific data.
153+
// We should not collect users specific data.
154+
eventProperties.Add("Message", "Message removed due to PII.");
154155
eventProperties.Add("StackTrace", qos.Exception.StackTrace);
155156
eventProperties.Add("ExceptionType", qos.Exception.GetType().ToString());
156157
client.TrackException(null, eventProperties, eventMetrics);

src/ResourceManager/Compute/Commands.Compute/help/Add-AzureRMVhd.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,30 @@ Shared access signature (SAS) URI is supported also.
2828

2929
### Example 1: Add a VHD file
3030
```
31-
PS C:\>Add-AzureRmVhd -Destination "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd"
31+
PS C:\> Add-AzureRmVhd -Destination "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd"
3232
```
3333

3434
This command adds a .vhd file to a storage account.
3535

3636
### Example 2: Add a VHD file and overwrite the destination
3737
```
38-
PS C:\>Add-AzureRmVhd -Destination "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd" -Overwrite
38+
PS C:\> Add-AzureRmVhd -Destination "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd" -Overwrite
3939
```
4040

4141
This command adds a .vhd file to a storage account.
4242
The command overwrites an existing file.
4343

4444
### Example 3: Add a VHD file and specify the number of threads
4545
```
46-
PS C:\>Add-AzureRmVhd -Destination "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd" -NumberOfThreads 32
46+
PS C:\> Add-AzureRmVhd -Destination "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd" -LocalFilePath "C:\vhd\Win7Image.vhd" -NumberOfThreads 32
4747
```
4848

4949
This command adds a .vhd file to a storage account.
5050
The command specifies the number of threads to use to upload the file.
5151

5252
### Example 4: Add a VHD file and specify the SAS URI
5353
```
54-
PS C:\>Add-AzureRmVhd -Destination "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd?st=2013-01 -09T22%3A15%3A49Z&se=2013-01-09T23%3A10%3A49Z&sr=b&sp=w&sig=13T9Ow%2FRJAMmhfO%2FaP3HhKKJ6AY093SmveO SIV4%2FR7w%3D" -LocalFilePath "C:\vhd\win7baseimage.vhd"
54+
PS C:\> Add-AzureRmVhd -Destination "http://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd?st=2013-01 -09T22%3A15%3A49Z&se=2013-01-09T23%3A10%3A49Z&sr=b&sp=w&sig=13T9Ow%2FRJAMmhfO%2FaP3HhKKJ6AY093SmveO SIV4%2FR7w%3D" -LocalFilePath "C:\vhd\win7baseimage.vhd"
5555
```
5656

5757
This command adds a .vhd file to a storage account and specifies the SAS URI.

src/ResourceManager/Compute/Commands.Compute/help/Add-AzureRmContainerServiceAgentPoolProfile.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The **Add-AzureRmContainerServiceAgentPoolProfile** cmdlet adds a container serv
2424

2525
### Example 1: Add a profile
2626
```
27-
PS C:\>Add-AzureRmContainerServiceAgentPoolProfile -Name "AgentPool01" -VmSize "Standard_A1" -DnsPrefix "APResourceGroup17"
27+
PS C:\> Add-AzureRmContainerServiceAgentPoolProfile -Name "AgentPool01" -VmSize "Standard_A1" -DnsPrefix "APResourceGroup17"
2828
```
2929

3030
This command adds a container service agent pool profile to the local container service object.
@@ -33,7 +33,7 @@ This command adds a container service agent pool profile to the local container
3333

3434
### -ContainerService
3535
Specifies the container service object to which this cmdlet adds an agent pool profile.
36-
To obtain a **ContainerService** object, use the New-AzureRmContainerServiceConfig cmdlet.
36+
To obtain a **ContainerService** object, use the [New-AzureRmContainerServiceConfig](./New-AzureRmContainerServiceConfig.md) cmdlet.
3737

3838
```yaml
3939
Type: ContainerService
@@ -154,5 +154,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
154154
[New-AzureRmContainerServiceConfig](./New-AzureRmContainerServiceConfig.md)
155155
156156
[Remove-AzureRmContainerServiceAgentPoolProfile](./Remove-AzureRmContainerServiceAgentPoolProfile.md)
157-
158-

src/ResourceManager/Compute/Commands.Compute/help/Add-AzureRmImageDataDisk.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ PS C:\> New-AzureRmImage -Image $imageConfig -ImageName 'ImageName01' -ResourceG
3636

3737
The first command creates an image object, and then stores it in the $imageConfig variable.
3838

39-
The next three commands assign paths of os disk and two data disks to the $osDiskVhdUri, $dataDiskVhdUri1, and $dataDiskVhdUri2 variables.
39+
The next three commands assign paths of operating system disk and two data disks to the $osDiskVhdUri, $dataDiskVhdUri1, and $dataDiskVhdUri2 variables.
4040
This approach is only for readability of the following commands.
4141

42-
The next three commands each adds an os disk and two data disks to the image stored in $imageConfig.
42+
The next three commands each adds an operating system disk and two data disks to the image stored in $imageConfig.
4343
The URI of each disk is stored in $osDiskVhdUri, $dataDiskVhdUri1, and $dataDiskVhdUri2.
4444

45-
The final command creates an image named 'ImageName01' in resource group 'ResourceGroup01'.
45+
The final command creates an image named ImageName01 in resource group ResourceGroup01.
4646

4747
## PARAMETERS
4848

4949
### -BlobUri
50-
Specifies the Uri of the blob.
50+
Specifies the link, as a URI, of the blob.
5151

5252
```yaml
5353
Type: String
@@ -78,7 +78,7 @@ Accept wildcard characters: False
7878
```
7979
8080
### -DiskSizeGB
81-
Specifies the size of the disk in GB.
81+
Specifies the size of the disk in Gigabytes (GB).
8282
8383
```yaml
8484
Type: Int32
@@ -200,4 +200,3 @@ System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, Pub
200200
## NOTES
201201

202202
## RELATED LINKS
203-

src/ResourceManager/Compute/Commands.Compute/help/Add-AzureRmVMAdditionalUnattendContent.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Specify additional base 64 encoded .xml formatted information that this cmdlet a
2525

2626
### Example 1: Add content to unattend.xml
2727
```
28-
PS C:\>$AvailabilitySet = Get-AzureRmAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03"
28+
PS C:\> $AvailabilitySet = Get-AzureRmAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03"
2929
PS C:\> $VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id
3030
PS C:\> $Credential = Get-Credential
3131
PS C:\> $VirtualMachine = Set-AzureRmVMOperatingSystem -VM $VirtualMachine -Windows -ComputerName "Contoso26" -Credential $Credential
@@ -91,8 +91,8 @@ Accept wildcard characters: False
9191
9292
### -VM
9393
Specifies the virtual machine object that this cmdlet modifies.
94-
To obtain a virtual machine object, use the Get-AzureRmVM cmdlet.
95-
Create a virtual machine object by using the New-AzureRmVMConfig cmdlet.
94+
To obtain a virtual machine object, use the [Get-AzureRmVM](./Get-AzureRmVM.md) cmdlet.
95+
Create a virtual machine object by using the [New-AzureRmVMConfig](./New-AzureRmVMConfig.md) cmdlet.
9696
9797
```yaml
9898
Type: PSVirtualMachine
@@ -122,5 +122,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
122122
[Set-AzureRmVMOperatingSystem](./Set-AzureRmVMOperatingSystem.md)
123123
124124
[New-AzureRmVMConfig](./New-AzureRmVMConfig.md)
125-
126-

src/ResourceManager/Compute/Commands.Compute/help/Add-AzureRmVMDataDisk.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You can add a data disk when you create a virtual machine, or you can add a data
2727

2828
### Example 1: Add data disks to a new virtual machine
2929
```
30-
PS C:\>$VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1"
30+
PS C:\> $VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1"
3131
PS C:\> $DataDiskVhdUri01 = "https://contoso.blob.core.windows.net/test/data1.vhd"
3232
PS C:\> $DataDiskVhdUri02 = "https://contoso.blob.core.windows.net/test/data2.vhd"
3333
PS C:\> $DataDiskVhdUri03 = "https://contoso.blob.core.windows.net/test/data3.vhd"
@@ -48,12 +48,12 @@ The URI of each disk is stored in $DataDiskVhdUri01, $DataDiskVhdUri02, and $Dat
4848

4949
### Example 2: Add a data disk to an existing virtual machine
5050
```
51-
PS C:\>$VirtualMachine = Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07"
51+
PS C:\> $VirtualMachine = Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07"
5252
PS C:\> Add-AzureRmVMDataDisk -VM $VirtualMachine -Name "disk1" -VhdUri "https://contoso.blob.core.windows.net/vhds/diskstandard03.vhd" -LUN 0 -Caching ReadOnly -DiskSizeinGB 1 -CreateOption Empty
5353
PS C:\> Update-AzureRmVM -ResourceGroupName "ResourceGroup11" -VM $VirtualMachine
5454
```
5555

56-
The first command gets the virtual machine named VirtualMachine07 by using the **Get-AzureRmVM** cmdlet.
56+
The first command gets the virtual machine named VirtualMachine07 by using the [Get-AzureRmVM](./Get-AzureRmVM.md) cmdlet.
5757
The command stores the virtual machine in the $VirtualMachine variable.
5858

5959
The second command adds a data disk to the virtual machine stored in $VirtualMachine.
@@ -62,7 +62,7 @@ The final command updates the state of the virtual machine stored in $VirtualMac
6262

6363
### Example 3: Add a data disk to a new virtual machine from a generalized user image
6464
```
65-
PS C:\>$VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1"
65+
PS C:\> $VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1"
6666
PS C:\> $DataImageUri = "https://contoso.blob.core.windows.net/system/Microsoft.Compute/Images/captured/dataimage.vhd"
6767
PS C:\> $DataDiskUri = "https://contoso.blob.core.windows.net/test/datadisk.vhd"
6868
PS C:\> $VirtualMachine = Add-AzureRmVMDataDisk -VM $VirtualMachine -Name "disk1" -SourceImageUri $DataImageUri -VhdUri $DataDiskUri -Lun 0 -DiskSizeinGB 10 -CreateOption FromImage
@@ -79,7 +79,7 @@ The command specifies the name and location for the disk and other properties of
7979

8080
### Example 4: Add data disks to a new virtual machine from a specialized user image
8181
```
82-
PS C:\>$VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1"
82+
PS C:\> $VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1"
8383
PS C:\> $DataDiskUri = "https://contoso.blob.core.windows.net/test/datadisk.vhd"
8484
PS C:\> $VirtualMachine = Add-AzureRmVMDataDisk -VM $VirtualMachine -Name "dd1" -VhdUri $DataDiskUri -Lun 0 -DiskSizeinGB 10 -CreateOption Attach
8585
```
@@ -259,8 +259,8 @@ Accept wildcard characters: False
259259
260260
### -VM
261261
Specifies the local virtual machine object to which to add a data disk.
262-
You can use the Get-AzureRmVM cmdlet to obtain a virtual machine object.
263-
You can use the New-AzureRmVMConfig cmdlet to create a virtual machine object.
262+
You can use the **Get-AzureRmVM** cmdlet to obtain a virtual machine object.
263+
You can use the **New-AzureRmVMConfig** cmdlet to create a virtual machine object.
264264
265265
```yaml
266266
Type: PSVirtualMachine

src/ResourceManager/Compute/Commands.Compute/help/Add-AzureRmVMNetworkInterface.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You can add an interface when you create a virtual machine or add one to an exis
3232

3333
### Example 1: Add a network interface to a new virtual machine
3434
```
35-
PS C:\>$VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1"
35+
PS C:\> $VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1"
3636
PS C:\> Add-AzureRmVMNetworkInterface -VM $VirtualMachine -Id "/subscriptions/46fc8ea4-2de6-4179-8ab1-365da4121af4/resourceGroups/contoso/providers/Microsoft.Network/networkInterfaces/sshNIC"
3737
```
3838

@@ -43,7 +43,7 @@ The second command adds a network interface to the virtual machine stored in $Vi
4343

4444
### Example 2: Add a network interface to an existing virtual machine
4545
```
46-
PS C:\>$VirtualMachine = Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07"
46+
PS C:\> $VirtualMachine = Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07"
4747
PS C:\> Add-AzureRmVMNetworkInterface -VM $VirtualMachine -Id "/subscriptions/46fc8ea4-2de6-4179-8ab1-365da4121af4/resourceGroups/contoso/providers/Microsoft.Network/networkInterfaces/sshNIC"
4848
PS C:\> Update-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07" -VM $VirtualMachine
4949
```
@@ -59,7 +59,7 @@ The final command updates the state of the virtual machine stored in $VirtualMac
5959

6060
### -Id
6161
Specifies the ID of a network interface to add to a virtual machine.
62-
You can use the Get-AzureRmNetworkInterface cmdlet to obtain a network interface.
62+
You can use the [Get-AzureRmNetworkInterface](./Get-AzureRmNetworkInterface.md) cmdlet to obtain a network interface.
6363

6464
```yaml
6565
Type: String
@@ -105,8 +105,8 @@ Accept wildcard characters: False
105105
106106
### -VM
107107
Specifies a local virtual machine object to which to add a network interface.
108-
To create a virtual machine, use the New-AzureRmVMConfig cmdlet.
109-
To obtain an existing virtual machine, use the Get-AzureRmVM cmdlet.
108+
To create a virtual machine, use the **New-AzureRmVMConfig** cmdlet.
109+
To obtain an existing virtual machine, use the **Get-AzureRmVM** cmdlet.
110110
111111
```yaml
112112
Type: PSVirtualMachine
@@ -136,5 +136,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
136136
[Get-AzureRmVM](./Get-AzureRmVM.md)
137137
138138
[Get-AzureRmAvailabilitySet](./Get-AzureRmAvailabilitySet.md)
139-
140-

src/ResourceManager/Compute/Commands.Compute/help/Add-AzureRmVMSecret.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ The **Add-AzureRmVMSecret** cmdlet adds a secret to a virtual machine.
2222
This value lets you add a certificate to the virtual machine.
2323
The secret must be stored in a Key Vault.
2424
For more information about Key Vault, see [What is Azure Key Vault?](https://azure.microsoft.com/en-us/documentation/articles/key-vault-whatis/).
25-
For more information about the cmdlets, see [Azure Key Vault Cmdlets](https://msdn.microsoft.com/library/azure/dn868052.aspx) in the Microsoft Developer Network library or the Set-AzureKeyVaultSecret cmdlet.
25+
For more information about the cmdlets, see [Azure Key Vault Cmdlets](https://msdn.microsoft.com/library/azure/dn868052.aspx) in the Microsoft Developer Network library or the [Set-AzureKeyVaultSecret](./Set-AzureKeyVaultSecret.md) cmdlet.
2626

2727
## EXAMPLES
2828

2929
### Example 1: Add a secret to a virtual machine
3030
```
31-
PS C:\>$VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id
31+
PS C:\> $VirtualMachine = New-AzureRmVMConfig -VMName "VirtualMachine07" -VMSize "Standard_A1" -AvailabilitySetID $AvailabilitySet.Id
3232
PS C:\> $Credential = Get-Credential
3333
PS C:\> $VirtualMachine = Set-AzureRmVMOperatingSystem -VM $VirtualMachine -Windows -ComputerName "Contoso26" -Credential $Credential
3434
PS C:\> $SourceVaultId = "/subscriptions/46f8cea4-2de6-4179-8ab1-365da4211af4/resourceGroups/vault/providers/Microsoft.KeyVault/vaults/keyvault"
@@ -44,7 +44,7 @@ The second command creates a credential object by using the Get-Credential cmdle
4444
The command prompts you for a user name and password.
4545
For more information, type `Get-Help Get-Credential`.
4646

47-
The third command uses the Set-AzureRmVMOperatingSystem cmdlet to configure the virtual machine stored in $VirtualMachine.
47+
The third command uses the **Set-AzureRmVMOperatingSystem** cmdlet to configure the virtual machine stored in $VirtualMachine.
4848

4949
The fourth command assigns a source vault ID to the $SourceVaultId variable for later use.
5050
The command assumes that the $SubscriptionId variable has an appropriate value.
@@ -122,8 +122,8 @@ Accept wildcard characters: False
122122
123123
### -VM
124124
Specifies the virtual machine object that this cmdlet modifies.
125-
To obtain a virtual machine object, use the Get-AzureRmVM cmdlet.
126-
You can use the New-AzureRmVMConfig cmdlet to create a virtual machine object.
125+
To obtain a virtual machine object, use the [Get-AzureRmVM](./Get-AzureRmVM.md) cmdlet.
126+
You can use the [New-AzureRmVMConfig](./New-AzureRmVMConfig.md) cmdlet to create a virtual machine object.
127127
128128
```yaml
129129
Type: PSVirtualMachine

src/ResourceManager/Compute/Commands.Compute/help/Add-AzureRmVMSshPublicKey.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The **Add-AzureRmVMSshPublicKey** cmdlet adds the public keys that you can use t
2424

2525
### Example 1: Add a public key to a virtual machine
2626
```
27-
PS C:\>$VirtualMachine = Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07"
27+
PS C:\> $VirtualMachine = Get-AzureRmVM -ResourceGroupName "ResourceGroup11" -Name "VirtualMachine07"
2828
PS C:\> $VirtualMachine = Add-AzureRmVMSshPublicKey -VM $VirtualMachine -KeyData "MIIDszCCApugAwIBAgIJALBV9YJCF/tAMA0GCSq12Ib3DQEB21QUAMEUxCzAJBgNV" -Path "/home/admin/.ssh/authorized_keys"
2929
```
3030

@@ -69,8 +69,8 @@ Accept wildcard characters: False
6969
7070
### -VM
7171
Specifies the virtual machine object that this cmdlet modifies.
72-
To obtain a virtual machine object, use the Get-AzureRmVM cmdlet.
73-
You can use the New-AzureRmVMConfig cmdlet to create a virtual machine object.
72+
To obtain a virtual machine object, use the [Get-AzureRmVM](./Get-AzureRmVM.md) cmdlet.
73+
You can use the [New-AzureRmVMConfig](./New-AzureRmVMConfig.md) cmdlet to create a virtual machine object.
7474
7575
```yaml
7676
Type: PSVirtualMachine
@@ -98,5 +98,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
9898
[Get-AzureRmVM](./Get-AzureRmVM.md)
9999
100100
[New-AzureRmVMConfig](./New-AzureRmVMConfig.md)
101-
102-

src/ResourceManager/Compute/Commands.Compute/help/Add-AzureRmVmssAdditionalUnattendContent.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The **Add-AzureRmVmssAdditionalUnattendContent** cmdlet adds information to the
2525

2626
### Example 1: Add information to the unattended Windows Setup answer file
2727
```
28-
PS C:\>Add-AzureRmVmssAdditionalUnattendContent -VirtualMachineScaleSet $VMSS -ComponentName $AUCComponentName -Content $AUCContent -PassName $AUCPassName -SettingName $AUCSetting
28+
PS C:\> Add-AzureRmVmssAdditionalUnattendContent -VirtualMachineScaleSet $VMSS -ComponentName $AUCComponentName -Content $AUCContent -PassName $AUCPassName -SettingName $AUCSetting
2929
```
3030

3131
This command adds information to the unattended Windows Setup answer file.
@@ -103,7 +103,7 @@ Accept wildcard characters: False
103103
104104
### -VirtualMachineScaleSet
105105
Specify the virtual machine **Scale Set** object.
106-
You can use the New-AzureRmVmssConfig cmdlet to create the object.
106+
You can use the [New-AzureRmVmssConfig](./New-AzureRmVmssConfig.md) cmdlet to create the object.
107107
108108
```yaml
109109
Type: VirtualMachineScaleSet
@@ -159,5 +159,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
159159
## RELATED LINKS
160160
161161
[New-AzureRmVmssConfig](./New-AzureRmVmssConfig.md)
162-
163-

src/ResourceManager/Compute/Commands.Compute/help/Add-AzureRmVmssDataDisk.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Accept wildcard characters: False
127127
128128
### -VirtualMachineScaleSet
129129
Specify the VMSS object.
130-
You can use the New-AzureRmVmssConfig cmdlet to create the object.
130+
You can use the [New-AzureRmVmssConfig](./New-AzureRmVmssConfig.md) cmdlet to create the object.
131131
132132
```yaml
133133
Type: VirtualMachineScaleSet
@@ -192,4 +192,3 @@ System.Nullable`1[[Microsoft.Azure.Management.Compute.Models.StorageAccountTypes
192192
## NOTES
193193

194194
## RELATED LINKS
195-

src/ResourceManager/Compute/Commands.Compute/help/Add-AzureRmVmssDiagnosticsExtension.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The **Add-AzureRmVmssDiagnosticsExtension** cmdlet adds a diagnostics extension
2626

2727
### Example 1: Add a diagnostics extension to the VMSS
2828
```
29-
PS C:\>Add-AzureRmVmssDiagnosticsExtension -VirtualMachineScaleSet $VMSS -SettingFilePath $publicConfigPath -ProtectedSettingFilePath $privateConfigPath -Name $extName -TypeHandlerVersion $typeVersion -AutoUpgradeMinorVersion $True -Force
29+
PS C:\> Add-AzureRmVmssDiagnosticsExtension -VirtualMachineScaleSet $VMSS -SettingFilePath $publicConfigPath -ProtectedSettingFilePath $privateConfigPath -Name $extName -TypeHandlerVersion $typeVersion -AutoUpgradeMinorVersion $True -Force
3030
```
3131

3232
This command adds a diagnostics extension to the VMSS.
@@ -110,7 +110,7 @@ Accept wildcard characters: False
110110
111111
### -TypeHandlerVersion
112112
Specifies the version of the extension to use for this VMSS.
113-
To obtain the version, run the Get-AzureRmVMExtensionImage cmdlet with a value of Microsoft.Azure.Diagnostics for the *PublisherName* parameter and IaaSDiagnostics for the *Type* parameter.
113+
To obtain the version, run the [Get-AzureRmVMExtensionImage](./Get-AzureRmVMExtensionImage.md) cmdlet with a value of Microsoft.Azure.Diagnostics for the *PublisherName* parameter and IaaSDiagnostics for the *Type* parameter.
114114
115115
```yaml
116116
Type: String
@@ -126,7 +126,7 @@ Accept wildcard characters: False
126126
127127
### -VirtualMachineScaleSet
128128
Specify the VMSS object.
129-
You can use the New-AzureRmVmssConfig cmdlet to create the object.
129+
You can use the [New-AzureRmVmssConfig](./New-AzureRmVmssConfig.md) cmdlet to create the object.
130130
131131
```yaml
132132
Type: VirtualMachineScaleSet
@@ -157,7 +157,6 @@ Accept wildcard characters: False
157157
158158
### -WhatIf
159159
Shows what would happen if the cmdlet runs.
160-
161160
The cmdlet is not run.
162161
163162
```yaml

0 commit comments

Comments
 (0)