< Back

Get-AzureVMCustomScriptExtension

Wed Jan 30, 2019 5:46 pm

NAME Get-AzureVMCustomScriptExtension



SYNOPSIS

Gets information from an Azure virtual machine custom script extension.





SYNTAX

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

[<CommonParameters>]





DESCRIPTION

The Get-AzureVMCustomScriptExtension cmdlet gets information from an Azure virtual machine custom script extension.





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 an Azure virtual machine script extension --------------------------



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



This command gets an Azure virtual machine script extension stored in the variable $VM.



RELATED LINKS

Remove-AzureVMCustomScriptExtension

Set-AzureVMCustomScriptExtension

Azure Service Cmdlets