< Back
Get-AzureServiceDiagnosticsExtension
Post
NAME Get-AzureServiceDiagnosticsExtension
SYNOPSIS
Gets the cloud service diagnostics extension applied on all roles or named roles at a certain deployment slot.
SYNTAX
Get-AzureServiceDiagnosticsExtension [[-ServiceName] <String>] [[-Slot] <String>] [[-Role] <String[]>] [-Profile <AzureSMProfile>] [-InformationAction
<ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureServiceDiagnosticsExtension cmdlet gets 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. The acceptable values for this parameter are: Production or Staging.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Role <String[]>
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
<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: Enable a diagnostic extension --------------------------
PS C:\\>Get-AzureServiceDiagnosticsExtension -ServiceName $Svc
This command enables a diagnostic service across all roles.
RELATED LINKS
Remove-AzureServiceDiagnosticsExtension
Set-AzureServiceDiagnosticsExtension
SYNOPSIS
Gets the cloud service diagnostics extension applied on all roles or named roles at a certain deployment slot.
SYNTAX
Get-AzureServiceDiagnosticsExtension [[-ServiceName] <String>] [[-Slot] <String>] [[-Role] <String[]>] [-Profile <AzureSMProfile>] [-InformationAction
<ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureServiceDiagnosticsExtension cmdlet gets 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. The acceptable values for this parameter are: Production or Staging.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Role <String[]>
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
<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: Enable a diagnostic extension --------------------------
PS C:\\>Get-AzureServiceDiagnosticsExtension -ServiceName $Svc
This command enables a diagnostic service across all roles.
RELATED LINKS
Remove-AzureServiceDiagnosticsExtension
Set-AzureServiceDiagnosticsExtension