Skip to content

Initialize‐bConnect

Alexander Haugk edited this page Jan 8, 2024 · 6 revisions

Initialize the module with all necessary information.

Parameters

-Server
Hostname/FQDN/IP of the baramundi Management Server.

-Port
Port on which bConnect is listening (default: 443).

-Credentials
PSCredential object with permissions in the bMS.
You can create credentials with Get-Credential.

Security notice: Do not use common credential, which are also used by other tasks! Create a specific user and password for each script and assign only necessary permissions in the bMS.

-AcceptSelfSignedCertificate
Switch to ignore untrusted certificates.

Example

$apiCred = Get-Credential -Message "bConnect" -UserName "[email protected]"
Initialize-bConnect -Server "SRV-BARAMUNDI" -Credentials $apiCred
Clone this wiki locally