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
 

Save-AzureWebsiteLog

Save-AzureWebsiteLog

microsoft.windowsazure.commands.dll

Synopsis

Download logs for the specified website

Syntax

Save-AzureWebsiteLog [-Output] [-Name] [-Slot] [<CommonParameters>]

Detailed Description

Download logs for the specified website

Parameters

-Output <String>

The path to the log download file

Aliases

None

Required?

false

Position

2

Default value

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Name <String>

The name of the Azure website

Aliases

None

Required?

false

Position

1

Default value

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Slot <>

The slot name

Aliases

None

Required?

false

Position

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------- Get Logs --------------

C:\PS>

Download runtime and deployment logs for webaite 'mySite' to the file 'logs.zip' in the current directory

Save-AzureWebsiteLogs -Name mySite -Output .\logs.zip

Get-AzureWebsiteDeployment
Restore-AzureWebsiteDeployment