< Back

Get-ProvAzureVMPowerState

Sun Jan 19, 2020 5:38 pm

NAME Get-ProvAzureVMPowerState



SYNOPSIS

Returns the power state of the Azure virtual machine.





SYNTAX

Get-ProvAzureVMPowerState -AuthContext <object> -Name <string> -ResourceGroup <string> -SubscriptionId <Guid>

[-ApiVersion <string>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-AuthContext <object>

The authorization context obtain with "Get-ProvAzureAuthContext".



Store the output of this command in a variable and use it as input value for this parameter"



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SubscriptionId <Guid>

The GUID of the Azure Subscription where the virtual machines have been created.



Required? true

Position? named

Default value 00000000-0000-0000-0000-000000000000

Accept pipeline input? false

Accept wildcard characters? false



-ResourceGroup <string>

The name of the Azure Resource Group contains the virtual machine.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <string>

The name of the virtual machine.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ApiVersion <string>

The version of the API to use.



Required? false

Position? named

Default value

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

System.String







RELATED LINKS