< Back

Get-AzureVMChefExtension

Wed Jan 30, 2019 5:46 pm

NAME Get-AzureVMChefExtension



SYNOPSIS

Gets the Chef extension applied on a virtual machine.





SYNTAX

Get-AzureVMChefExtension -VM <IPersistentVM> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureVMChefExtension cmdlet gets the Chef extension applied on a virtual machine.





PARAMETERS

-VM <IPersistentVM>

Specifies the persistent virtual machine object.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue, ByPropertyName)

Accept wildcard characters? false



-Profile <AzureSMProfile>

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.



Required? false

Position? named

Default value None

Accept pipeline input? False

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



NOTES









-------------------------- Example 1: Get the Chef extension applied on the specified virtual machine --------------------------



PS C:\\>Get-AzureVMChefExtension -VM $VM;



This command gets the Chef extension applied on the specified virtual machine.



RELATED LINKS

Remove-AzureVMChefExtension

Set-AzureVMChefExtension

Azure Service Cmdlets