< Back

Install-AzureRmVMExtension

Sat Jan 18, 2020 4:33 pm

NAME Install-AzureRmVMExtension



SYNOPSIS

Install-AzureRmVMExtension simplifies the process of installing

VM extensions on Azure IaaS resource manager VM's.





SYNTAX

Install-AzureRmVMExtension [-VMName] <String[]> [[-ResourceGroupName] <String>] [[-Location] <String>]

[-PublisherName] <String> [[-Type] <String>] [[-Version] <String>] [<CommonParameters>]





DESCRIPTION

Install-AzureRmVMExtension simplifies the process of installing

VM extensions on Azure IaaS resource manager VM's.





PARAMETERS

-VMName <String[]>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>



Required? false

Position? 2

Default value we-use-rg-prd

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Location <String>



Required? false

Position? 3

Default value eastus

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-PublisherName <String>



Required? true

Position? 4

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Type <String>



Required? false

Position? 5

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Version <String>



Required? false

Position? 6

Default value

Accept pipeline input? true (ByPropertyName)

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





Created by: Jason Wasser @wasserja

Modified: 3/15/2016 02:09:36 PM



Version 1.5



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Install-AzureRmVMExtension -VMName server01 -ResourceGroupName rg01 -Location eastus -PublisherName

Microsoft.Compute -Type bginfo



RequestId IsSuccessStatusCode StatusCode ReasonPhrase

--------- ------------------- ---------- ------------

True OK OK



Installs the bginfo extension on server01 in resource group rg01 located in the East US Azure Datacenter.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Install-AzureRmVMExtension -VMName server01 -ResourceGroupName rg01 -Location eastus



Opens a grid view of available extensions that you can install on server01.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Install-AzureRmVMExtension -VMName server01 -ResourceGroupName rg01 -Location eastus -PublisherName

TrendMicro.DeepSecurity -ExtensionName TrendMicroDSA



RequestId IsSuccessStatusCode StatusCode ReasonPhrase

--------- ------------------- ---------- ------------

True OK OK



Installs the TrendMicro Deep Security extension on server01 in resource group rg01 located in the East US Azure

Datacenter.



Requires -Modules AzureRM.profile,AzureRM.Compute











RELATED LINKS