< Back

Restart-AzureAnalysisServicesInstance

Sat Jan 11, 2020 9:43 am

NAME Restart-AzureAnalysisServicesInstance



SYNOPSIS

Restarts an instance of Analysis Services server in the currently logged in Environment as specified in

Add-AzureAnalysisServicesAccount command





SYNTAX

Restart-AzureAnalysisServicesInstance -Instance <System.String> [-PassThru

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

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





DESCRIPTION

The Restart-AzureAnalysisServicesInstance cmdlet restarts an instance of Azure Analysis Services server





PARAMETERS

-Instance <System.String>

Name of the Analysis Services server instance to restart



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PassThru <System.Management.Automation.SwitchParameter>

Specifying this will return true if the command was successful.



Required? false

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.Boolean







NOTES





Alias: Restart-AzureAsInstance



Example 1



PS C:\\>Restart-AzureAnalysisServicesInstance

Instance: testserver



This command will restart the server 'testserver' in the environment specified in the

Add-AzureAnalysisServicesAccount command







RELATED LINKS

Online Version:

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