Get-AzureVMCustomScriptExtension
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Get-AzureVMCustomScriptExtension
Get the custom script extension information.
Syntax
Parameter Set: GetCustomScriptExtension
Get-AzureVMCustomScriptExtension -VM <IPersistentVM> [ <CommonParameters>]
Detailed Description
Gets information for the custom script extension for a virtual machine (VM).
Parameters
-VM<IPersistentVM>
Specifies the VM object.
Aliases |
InputObject |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue, ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
EXAMPLE
This example gets the custom script extension applied to the specified VM as stored in the variable $vm
C:\PS>Get-AzureVMCustomScriptExtension -VM $vm;
Related topics
Remove-AzureVMCustomScriptExtension