Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Update-AzureDisk

Update-AzureDisk

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

Updates the label of a disk in the Microsoft Azure disk repository.

Syntax

Update-AzureDisk [-DiskName] [-Label] [<CommonParameters>]

Detailed Description

The Update-AzureDisk cmdlet changes the label associated with a disk in the disk repository of the current Microsoft Azure subscription.

Parameters

-DiskName <String>

Specifies the name of the disk in the disk repository.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Label <String>

Specifies the new label of the disk.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

DiskContext

Notes

Examples

-------------------------- Example 1 --------------------------

This command updates the label of the disk named "MyOSDisk" to "DoNotUse".

PS C:\> C:\PS>Update-AzureDisk –DiskName "MyOSDisk" -Label "DoNotUse"

Add-AzureDisk
Get-AzureDisk
Remove-AzureDisk