< Back

Save-AzureWebsiteLog

Wed Jan 30, 2019 5:41 pm

NAME Save-AzureWebsiteLog



SYNOPSIS

Download logs for the specified website





SYNTAX

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





DESCRIPTION

Download logs for the specified website





PARAMETERS

-Output <String>

The path to the log download file



Required? false

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Name <String>

The name of the Azure website



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Slot <String>

The slot name



Required? false

Position? Named

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





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



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



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











RELATED LINKS

Get-AzureWebsiteDeployment

Restore-AzureWebsiteDeployment