< Back

Sync-AzureAnalysisServicesInstance

Sat Jan 11, 2020 9:44 am

NAME Sync-AzureAnalysisServicesInstance



SYNOPSIS

Synchronizes a specified database on the specified instance of Analysis Services server to all the query scaleout

instances in the currently logged in Environment as specified in Add-AzureAnalysisServicesAccount command





SYNTAX

Sync-AzureAnalysisServicesInstance [-Instance] <System.String> [-Database] <System.String> [-PassThru

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

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





DESCRIPTION

The Sync-AzureAnalysisServicesInstance cmdlet synchronizes a specified database on the specified instance of

Analysis Services server to all the query scaleout instances in the currently logged in Environment as specified

in Add-AzureAnalysisServicesAccount command





PARAMETERS

-Database <System.String>

Identity of the database to be synchronized



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Instance <System.String>

Name of the Analysis Services server instance to restart



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

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

System.String

Parameters: Database (ByValue), Instance (ByValue)





OUTPUTS

Microsoft.Azure.Commands.AnalysisServices.Dataplane.Models.ScaleOutServerDatabaseSyncDetails







NOTES





Alias: Sync-AzureAsInstance



Example 1



PS C:\\>Sync-AzureAnalysisServicesInstance -Instance asazure://westus.asazure.windows.net/contoso -Database

SalesOrders



This command will synchronize the database named SalesOrders in the server named 'contoso' in the environment

westus.asazure.windows.net provided the user has logged-in to this enviroment using

Add-AzureAnalysisServicesAccount command.







RELATED LINKS

Online Version:

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