Get-AzureVMExtension
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Get-AzureVMExtension
Gets resource extensions applied to virtual machines (VMs).
Syntax
Parameter Set: ListByReferenceName
Get-AzureVMExtension [[-ReferenceName] <String> ] -VM <IPersistentVM> [ <CommonParameters>]
Parameter Set: ListByExtensionName
Get-AzureVMExtension [-ExtensionName] <String> [-Publisher] <String> [[-Version] <String> ] -VM <IPersistentVM> [ <CommonParameters>]
Detailed Description
This cmdlet gets resource extensions applied to VMs.
Parameters
-ExtensionName<String>
Specifies the name of the extension.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Publisher<String>
Specifies the publisher of the extension.
Aliases |
none |
Required? |
true |
Position? |
3 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-ReferenceName<String>
Specifies the extension's reference name.
Aliases |
none |
Required? |
false |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Version<String>
Specifies the version of the extension.
Aliases |
none |
Required? |
false |
Position? |
4 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-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 resource extensions applied to the specified VM as stored in the variable $vm.
C:\PS>Get-AzureVM -ServiceName $svc -Name $vm | Get-AzureVMExtension;