< Back

Remove-AzureServiceExtension

Wed Jan 30, 2019 5:51 pm

NAME Remove-AzureServiceExtension



SYNOPSIS

Removes cloud service extensions that are applied on a deployment.





SYNTAX

Remove-AzureServiceExtension [[-ServiceName] <String>] [[-Slot] <String>] [[-Role] <String[]>] [-ExtensionName] <String> [-ProviderNamespace] <String>

[-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]



Remove-AzureServiceExtension [[-ServiceName] <String>] [[-Slot] <String>] [-ExtensionName] <String> [-ProviderNamespace] <String>

[-UninstallConfiguration] [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]





DESCRIPTION

The Remove-AzureServiceExtension cmdlet removes cloud service extensions that are applied on a deployment.





PARAMETERS

-ServiceName <String>

Specifies the cloud service name.



Required? false

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Slot <String>

Specifies the environment of the deployment to modify. Valid values are Production or Staging.



Required? false

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Role <String[]>

Specifies an optional array of roles to specify the extension for. If not specified the extension is applied as the default configuration for all

roles.



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ExtensionName <String>

Specifies the extension name.



Required? true

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ProviderNamespace <String>

Specifies the extension provider namespace.



Required? true

Position? 4

Default value None

Accept pipeline input? True (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



-UninstallConfiguration [<SwitchParameter>]

Indicates that this cmdlet uninstalls all configurations from the cloud service.



Required? true

Position? 4

Default value False

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: Remove a service extension --------------------------



PS C:\\>Remove-AzureServiceExtension -ServiceName $Svc -Slot "Production" -ExtensionName "RDP" -ProviderNamespace "Microsoft.Windows.Azure.Extensions"



This command removes a service extension.

-------------------------- Example 2: Remove a service extension and uninstall all configurations --------------------------



PS C:\\>Remove-AzureServiceExtension -ServiceName $Svc -Slot "Production" -ExtensionName "RDP" -ProviderNamespace "Microsoft.Windows.Azure.Extensions"

-UninstallConfiguration



This command removes a service extension and uninstalls all configurations.



RELATED LINKS

Get-AzureServiceExtension

Set-AzureServiceExtension