< Back

Export-AzureAnalysisServicesInstanceLog

Sat Jan 11, 2020 9:43 am

NAME Export-AzureAnalysisServicesInstanceLog



SYNOPSIS

Exports a log from an instance of Analysis Services server in the currently logged in Environment as specified in

Add-AzureAnalysisServicesAccount command





SYNTAX

Export-AzureAnalysisServicesInstanceLog [-Force <System.Management.Automation.SwitchParameter>] -Instance

<System.String> -OutputPath <System.String> [-Confirm <System.Management.Automation.SwitchParameter>] [-WhatIf

<System.Management.Automation.SwitchParameter>] [<CommonParameters>]





DESCRIPTION

The Export-AzureAnalysisServicesInstance cmdlet exports log from an instance of Azure Analysis Services server to

file





PARAMETERS

-Force <System.Management.Automation.SwitchParameter>

Overwrite file if exists without asking



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Instance <System.String>

Name of the Analysis Services server instance



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-OutputPath <System.String>

Output path to file to export log



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Confirm <System.Management.Automation.SwitchParameter>

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf <System.Management.Automation.SwitchParameter>

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value None

Accept pipeline input? False

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

None







OUTPUTS

System.Void







NOTES





Alias: Export-AzureAsInstanceLog



Example 1



PS C:\\>Export-AzureAnalysisServicesInstanceLog -Instance testserver -OuptutPath C:\\path\\to\\log\\testserver.log



This command will export log from the server 'testserver' in the environment specified in the

Add-AzureAnalysisServicesAccount command and save it to file specified in OutputPath

'C:\\path\\to\\log\\testserver.log'







RELATED LINKS

Online Version:

https://docs.microsoft.com/en-us/powers ... nstancelog