< Back

Get-AzureVMImageDiskConfigSet

Wed Jan 30, 2019 5:46 pm

NAME Get-AzureVMImageDiskConfigSet



SYNOPSIS

Gets a disk configuration set object from the input image context.





SYNTAX

Get-AzureVMImageDiskConfigSet [[-ImageContext] <OSImageContext>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureVMImageDiskConfigSet cmdlet gets a disk configuration set object from the input image context.





PARAMETERS

-ImageContext <OSImageContext>

Specifies the virtual machine image context.



Required? false

Position? 1

Default value None

Accept pipeline input? True (ByValue, ByPropertyName)

Accept wildcard characters? false



-InformationAction <ActionPreference>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationVariable <String>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet







NOTES









-------------------------- Example 1: Get a disk configuration set object from a virtual machine --------------------------



PS C:\\>Get-AzureVMImage -ImageName $Img | Get-AzureVMImageDiskConfigSet



This command gets a disk configuration set object from a virtual machine.



RELATED LINKS

New-AzureVMImageDiskConfigSet

Get-AzureVMImage