Get-AXReportDataSource

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.

Get-AXReportDataSource

Returns the default data source that is being used for Microsoft SQL Server Reporting Services reports.

Syntax

Parameter Set: Default
Get-AXReportDataSource -DataSourceName <String> [-ServicesAOSName <String> ] [-ServicesAOSWSDLPort <Int32> ] [-ServicesFilePath <String> ] [ <CommonParameters>]

Detailed description

The Get-AXReportDataSource cmdlet returns the default data source that is being used for SQL Server Reporting Services reports, including the connection string and provider.

Parameters

-DataSourceName<String>

Returns the connection string and provider for the specified data source.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServicesAOSName<String>

Specifies the name of a Microsoft Dynamics AX Application Object Server (AOS) instance to connect 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 connect 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

This example returns detailed information about the DynamicsAXOLAP datasource.

C:\PS>Get-AXReportDataSource -DataSourceName DynamicsAXOLAP| format-list
Name             : DynamicsAXOLAP
ConnectionString : Provider="MSOLAP.4";Integrated Security=SSPI;Persist Securit
y Info=True;Data Source=localhost;Initial Catalog="Dynamics
AX"
Provider :

Set-AXReportDataSource

Copyright Microsoft Corporation. All rights reserved.