Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Disable-AzureWebsiteApplicationDiagnostic

Disable-AzureWebsiteApplicationDiagnostic

microsoft.windowsazure.commands.dll

Synopsis

Disables the website's application diagnostics

Syntax

Disable-AzureWebsiteApplicationDiagnostic [-Name] [-File] [-Storage] [-PassThru] [-Slot] [<CommonParameters>]

Detailed Description

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

Parameters

-Name <>

The name of the Azure website

Aliases

None

Required?

false

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-File <>

Indicates using file system to store the log files

Aliases

None

Required?

false

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Storage <>

Indicates using Microsoft Azure Storage to store the log files

Aliases

None

Required?

false

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-PassThru <>

Flag to return true if succeeded

Aliases

None

Required?

false

Position

4

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Slot <>

The slot name

Aliases

None

Required?

false

Position

5

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

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

C:\PS>

Disables application logging on file system

Disable-AzureWebsiteApplicationDiagnostic -Name MyWebsite -File

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

C:\PS>

Disables application logging using storage

Disable-AzureWebsiteApplicationDiagnostic -Name MyWebsite -Storage

New-AzureWebsite
Get-AzureWebsite
Start-AzureWebsite
Remove-AzureWebsite
Enable-AzureWebsiteApplicationDiagnostic