< Back

Disable-AzureWebsiteApplicationDiagnostic

Wed Jan 30, 2019 5:43 pm

NAME Disable-AzureWebsiteApplicationDiagnostic



SYNOPSIS

Disables the website's application diagnostics





SYNTAX

Disable-AzureWebsiteApplicationDiagnostic [[-Name] <String>] [[-File] <SwitchParameter>] [[-Storage] <SwitchParameter>] [[-PassThru] <SwitchParameter>]

[[-Slot] <String>] [<CommonParameters>]





DESCRIPTION

Disables the website's application diagnostics on file system or on Microsoft Azure Storage





PARAMETERS

-Name <String>

The name of the Azure website



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-File <SwitchParameter>

Indicates using file system to store the log files



Required? false

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Storage <String>

Indicates using Microsoft Azure Storage to store the log files



Required? false

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-PassThru <SwitchParameter>

Flag to return true if succeeded



Required? false

Position? 4

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Slot <String>

The slot name



Required? false

Position? 5

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







Keywords: azure, azuresm, servicemanagement, management, service, utilities





-------------- Disable diagnostics using file system --------------



C:\\PS>Disable-AzureWebsiteApplicationDiagnostic -Name MyWebsite -File



Disables application logging on file system









-------------- Disable logging using Microsoft Azure Storage --------------



C:\\PS>Disable-AzureWebsiteApplicationDiagnostic -Name MyWebsite -Storage



Disables application logging using storage











RELATED LINKS

New-AzureWebsite

Get-AzureWebsite

Start-AzureWebsite

Remove-AzureWebsite

Enable-AzureWebsiteApplicationDiagnostic