Celin.AIS Module
The basic module maintains the connection variable.
New-Celin.AIS
Create a new AIS connection variable.
- VariableName
- The PowerShell variable that will store the connection parameters. This name must be unique for the session.
- BaseUrl
- The Base URL of the AIS Server. The Module requires version 2 of AIS.
- Credential
- A User/Password PowerShell
Credential
object. - Log (Optional)
- Turn on
Warning
,Error
,Critical
,Debug
orTrace
Logging for AIS Requests/Response.
The $env:CELIN_DEFAULT_AIS
will be assigned the new variable name.
Connect-Celin.AIS
Authenticate connection.
- Credential (Optional)
- Override default PowerShell Credentials for authentication.
Use-Celin.AIS
Set a new default connection variable.
- VariableName
- The name of the new default variable (excluding the
$
sign).
Save-Celin.AIS
Export the default connection variable for saving with the Export-Clixml
command.
For example, a connection variable saved with:
Save-Celin.AIS | export-clixml ./demo.xml
Can be restored with:
Restore-Celin.AIS Demo (import-clixml ./demo.xml)
Restore-Celin.AIS
Restore default connection from an exported connection.
- VariableName
- The name of the restored default variable.
- SavedServer
- The exported connection variable.