SALES: 1-800-867-1380
Expand Minimize

Save-AzureWebsiteLog

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Save-AzureWebsiteLog

Downloads and saves the logs for a specified website.

Syntax

Parameter Set: Default
Save-AzureWebsiteLog [[-Name] <String> ] [[-Output] <String> ] [-PassThru] [-Slot <String> ] [ <CommonParameters>]




Detailed Description

This topic describes the cmdlet in the 0.8.7 version of the Microsoft Azure PowerShell module. To get the version of the module you're using, in the Azure PowerShell console, type (Get-Module -Name Azure).Version.

The Save-AzureWebsiteLog cmdlet downloads the logs for a specified website.

Parameters

-Name<String>

Specifies the name of the website.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Output<String>

Specifies the path to store the downloaded file.


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-PassThru

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Slot<String>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Download and save logs for a website

This example downloads the runtime and deployment logs for website 'mySite' to the file 'logs.zip' in the current directory.


PS C:\> Save-AzureWebsiteLogs -Name mySite -Output .\logs.zip

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft