Skip to content

Instantly share code, notes, and snippets.

@RobinBeismann
Created October 28, 2020 22:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobinBeismann/f20a61cb5fc8a96381b3f866fd36ee22 to your computer and use it in GitHub Desktop.
Save RobinBeismann/f20a61cb5fc8a96381b3f866fd36ee22 to your computer and use it in GitHub Desktop.
$installParams = @(
"--jc-name `"$($env:computername)`"",
"--install-dir `"$AgentInstallPath`"",
"--jc-jump-group `"jumpgroup:$BomgarJumpGroup`"",
"--jc-session-policy-present `"$BomgarSessionPolicy_Customer_present`"",
"--jc-session-policy-not-present `"$BomgarSessionPolicy_Customer_not_present`"",
"--silent"
)
Write-Log -Message "Installing Bomgar to $AgentInstallPath"
Write-Log -Message "Executing: $binary $($installParams -join " ")"
Execute-Process -Path $installPath -Parameters $installParams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment