< Back

Get-AxEnvironmentConfig

Sat Jan 11, 2020 8:11 am

NAME Get-AxEnvironmentConfig



SYNOPSIS

Get AX 2012 environment details from the configuration store





SYNTAX

Get-AxEnvironmentConfig [[-Name] <String>] [-OutputAsHashtable] [-EnableException] [<CommonParameters>]





DESCRIPTION

Get the environment details for the AX 2012 environment(s) that are stored in the configuration store





PARAMETERS

-Name <String>

Name of the configuration that you want to work against



Required? false

Position? 1

Default value *

Accept pipeline input? false

Accept wildcard characters? false



-OutputAsHashtable [<SwitchParameter>]

Instruct the cmdlet to return a hastable object



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-EnableException [<SwitchParameter>]

This parameters disables user-friendly warnings and enables the throwing of exceptions

This is less user friendly, but allows catching exceptions in calling scripts



Required? false

Position? named

Default value False

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

PSCustomObject





NOTES





Tags: Servicing, Environment, Config, Configuration, Servers



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



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



PS C:\\>Get-AxEnvironmentConfig



This will get all saved environment configurations.











RELATED LINKS

Add-AxEnvironmentConfig

Get-AxActiveEnvironmentConfig

Set-AxActiveEnvironmentConfig