Bendrinti naudojant


Publish-AXAnalysisProject

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Publish-AXAnalysisProject

Publishes (deploys) a project from the Microsoft Dynamics AX Application Object Tree to the Microsoft SQL Server Analysis Services server.

Syntax

Parameter Set: Default
Publish-AXAnalysisProject [-DoNotOverwriteExisting] [-DoNotProcess] [-PartitionKeys <String> ] [-ProjectFilename <String> ] [-ProjectName <String> ] [-ServerName <String> ] [-ServicesAOSName <String> ] [-ServicesAOSWSDLPort <Int32> ] [-ServicesFilePath <String> ] [ <CommonParameters>]

Detailed description

The Publish-AXAnalysisProject cmdlet publishes (deploys) a project from the Microsoft Dynamics AX Application Object Tree to the Microsoft SQL Server Analysis Services server, and optionally processes the databases once they are deployed.

Parameters

-DoNotOverwriteExisting

Specifies that an error will be thrown if a project with the same name has already been published to the server. When this parameter is not specified, any existing project is overwritten.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-DoNotProcess

Specifies that the project should be published but not processed. When this parameter is not specified, the project is both published and processed.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PartitionKeys<String>

Specifies one or more partitions to publish projects from. When this parameter is not specified, all projects in all partitions are published.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ProjectFilename<String>

Specifies the path and name of the project file to publish. Use this parameter to publish a project from disk. You can specify either the –ProjectFilename or –ProjectName parameter, but not both.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ProjectName<String>

Specifies the name of the project in the AOT to publish. Use this parameter to publish a project from the AOT. When this parameter is not specified, the value is assumed to be Dynamics AX. You can specify either the –ProjectFilename or –ProjectName parameter, but not both.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServerName<String>

Specifies the name of Analysis Services server to publish the project to. If this parameter is not specified, the project will be published to the default Analysis Services server.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServicesAOSName<String>

Specifies the name of an AOS instance to publish to instead of the default value.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServicesAOSWSDLPort<Int32>

Specifies the web service (WSDL) port of an AOS instance to publish to instead of the default value.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServicesFilePath<String>

Specifies a client configuration parameter file (.axc) to use instead of the configuration that is stored in the registry.

Aliases

none

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, OutBuffer, OutVariable, WarningAction, and WarningVariable. For more information, see about_CommonParameters https://go.microsoft.com/fwlink/?LinkID=113216

Inputs

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

  • None

    You cannot pipe input to this cmdlet.

Outputs

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

  • None

    The cmdlet does not generate any output.

Examples

Example: Publish all projects in all partitions

This example publishes the "Dynamics AX" project for all partitions to the default database.

PS C:\>Publish-AXAnalysisProject –ProjectName "Dynamics AX" 
						
ServerName : ContosoBI
DatabaseName : Dynamics AX initial
PartitionKey : PartitionKey1
IsDefault : False
LastDeployedDateTime : 4/25/2012 5:37:36 PM
StatusMessage : Deployment and processing of database Dynamics AX initial to server Contoso BI for partition initial succeeded!

Example: Publish only projects from one partition

This example publishes the "Dynamics AX" project for all partitions to the default database.

PS C:\>Publish-AXAnalysisProject –ProjectName "Dynamics AX" –PartitionKeys "PartitionKey1" 
						
ServerName : ContosoBI
DatabaseName : Dynamics AX initial
PartitionKey : PartitionKey1
IsDefault : False
LastDeployedDateTime : 4/25/2012 5:37:36 PM
StatusMessage : Deployment and processing of database Dynamics AX initial to server Contoso BI for partition initial succeeded!

Get-AXAnalysisDatabaseDetail

Get-AXAnalysisProjectDetail

Get-AXAnalysisServerConfiguration

Copyright Microsoft Corporation. All rights reserved.