< Back

Remove-AzureServiceDiagnosticsExtension

Wed Jan 30, 2019 5:51 pm

NAME Remove-AzureServiceDiagnosticsExtension



SYNOPSIS

Removes the cloud service diagnostics extension applied on all roles or named roles at a certain deployment slot.





SYNTAX

Remove-AzureServiceDiagnosticsExtension [[-ServiceName] <String>] [[-Slot] <String>] [[-Role] <String[]>] [-Profile <AzureSMProfile>]

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



Remove-AzureServiceDiagnosticsExtension [[-ServiceName] <String>] [[-Slot] <String>] [-UninstallConfiguration] [-Profile <AzureSMProfile>]

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





DESCRIPTION

The Remove-AzureServiceDiagnosticsExtension cmdlet removes the cloud service diagnostics extension applied on all roles or named roles at a certain

deployment slot.





PARAMETERS

-ServiceName <String>

Specifies the Azure service name of the deployment.



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 for which to specify the remote desktop configuration. If you do not specify this parameter, the remote desktop

configuration 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



-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 RDP configurations from the cloud service.



Required? true

Position? 2

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 the diagnostic extension for a service --------------------------



PS C:\\>Remove-AzureServiceDiagnosticsExtension -ServiceName $Svc



This command removes the diagnostic extension for a specified role.

-------------------------- Example 2: Remove the diagnostic extension for a service in a specified role --------------------------



PS C:\\>Remove-AzureServiceDiagnosticsExtension -ServiceName $Svc -Role "WebRole01"



This command removes the diagnostic extension for a specified role.



RELATED LINKS

Get-AzureServiceDiagnosticsExtension

Set-AzureServiceDiagnosticsExtension