< Back

Get-AxActiveEnvironmentConfig

Sat Jan 11, 2020 8:09 am

NAME Get-AxActiveEnvironmentConfig



SYNOPSIS

Get the active environment configuration





SYNTAX

Get-AxActiveEnvironmentConfig [-OutputAsHashtable] [-EnableException] [<CommonParameters>]





DESCRIPTION

Get the active environment configuration from the configuration store





PARAMETERS

-OutputAsHashtable [<SwitchParameter>]

Instruct the cmdlet to return a hashtable 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



NOTES





Tags: Environment, Config, Configuration, Servers



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



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



PS C:\\>Get-AxActiveEnvironmentConfig



This will get the active environment configuration.











RELATED LINKS

Add-AxEnvironmentConfig

Get-AxEnvironmentConfig

Set-AxActiveEnvironmentConfig