Remove-AzureVMCustomScriptExtension
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Remove-AzureVMCustomScriptExtension
Removes the VM Custom Script Extension.
Syntax
Parameter Set: RemoveCustomScriptExtension
Remove-AzureVMCustomScriptExtension -VM <IPersistentVM> [ <CommonParameters>]
Detailed Description
Removes the Azure VM Custom Script Extension from a virtual machine (VM).
Parameters
-VM<IPersistentVM>
The persistent 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
Removes the Azure VM Custom Script Extension from the specified VM as stored in the variable $vm.
C:\PS>Remove-AzureVMCustomScriptExtension -VM $vm;
Related topics
Get-AzureVMCustomScriptExtension