Get-AppVentiXConfigShare¶
Retrieves the AppVentiX configuration store if defined.
Syntax¶
Description¶
The Get-AppVentiXConfigShare function retrieves the AppVentiX configuration store path from the current session. It checks the module session variable first, and if not set, attempts to read it from the Central View Settings file or global/script-scoped variables.
If the configuration store requires specified credentials for authentication (as indicated by the Central View Settings file), the function will warn if the share is not accessible under the current user context.
Parameters¶
This function has no parameters.
Examples¶
Example 1: Retrieve the current configuration store¶
Returns the currently configured AppVentiX configuration store path as a PSCustomObject with a ConfigShare property.
Notes¶
- If the configuration store has not been set, a warning is displayed and the function returns null
- Use
Set-AppVentiXConfigShareto configure the configuration store path - If the share requires explicit credentials, use
Set-AppVentiXADCredential -AuthenticateConfigSharefirst