< Back

Get-AxSsrsConfig

Sat Jan 11, 2020 8:14 am

NAME Get-AxSsrsConfig



SYNOPSIS

Get the SSRS configuration





SYNTAX

Get-AxSsrsConfig [[-DatabaseServer] <String>] [[-DatabaseName] <String>] [[-SqlUser] <String>] [[-SqlPwd]

<String>] [<CommonParameters>]





DESCRIPTION

Get all the SSRS configuration from the AX 2012 database





PARAMETERS

-DatabaseServer <String>

Server name of the database server



Default value is: "localhost"



Required? false

Position? 2

Default value $Script:ActiveAosDatabaseserver

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-DatabaseName <String>

Name of the database



Default value is: "MicrosoftDynamicsAx"



Required? false

Position? 3

Default value $Script:ActiveAosDatabase

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-SqlUser <String>

User name of the SQL Server credential that you want to use when working against the database



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SqlPwd <String>

Password of the SQL Server credential that you want to use when working against the database



Required? false

Position? 5

Default value

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



OUTPUTS



NOTES





Author: M??????tz Jensen (@Splaxi)



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-AxSsrsConfig



This will get all the stored SSRS configuration entries from the default DatabaseServer and the default Database.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-AxAosInstance | Get-AxSsrsConfig



This will get all AOS Instance from the local machine and pipe them to the Get-AxSsrsConfig cmdlet.

The Get-AxSsrsConfig will the traverse every AOS Instance and their corresponding database for all SSRS

configuration.











RELATED LINKS