< Back

Get-AzureRmVMDscExtensionStatus

Tue Jan 29, 2019 9:37 pm

NAME Get-AzureRmVMDscExtensionStatus



SYNOPSIS

Gets the status of the DSC extension handler for a virtual machine.





SYNTAX

Get-AzureRmVMDscExtensionStatus [-ResourceGroupName] <String> [-VMName] <String> [[-Name] <String>] [-DefaultProfile <IAzureContextContainer>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureRmVMDscExtensionStatus cmdlet gets the status of the Desired State Configuration (DSC) extension handler for a virtual machine in a

resource group. When a configuration is applied this cmdlet produces output consistent with the Start-DscConfiguration cmdlet.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of the Azure Resource Manager resource that represents the extension. The Set-AzureRmVMDscExtension cmdlet sets this name

to Microsoft.Powershell.DSC, which is the same value that is used by Get-AzureRmVMDscExtensionStatus . Specify this parameter only if you

changed the default name in the Set cmdlet or used a different resource name in a Resource Manager template.



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group of the virtual machine.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-VMName <String>

Specifies the name of a virtual machine for which this cmdlet gets the DSC extension status.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Compute.Models.PSVirtualMachineInstanceView







NOTES









1:















RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... sionstatus

Set-AzureRmVMDscExtension