Implement ITG API
This commit is contained in:
7
main.ps1
7
main.ps1
@@ -19,6 +19,7 @@ $urls = @{
|
||||
autotask = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/tools/autotask.ps1"
|
||||
datto = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/tools/dattormm.ps1"
|
||||
pax8 = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/tools/pax8.ps1"
|
||||
itglue = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/tools/itglue.ps1"
|
||||
config = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/config.ps1"
|
||||
}
|
||||
|
||||
@@ -264,6 +265,12 @@ $SubmitBtn.Add_Click({
|
||||
-Credentials $script:toolCredentials
|
||||
}
|
||||
|
||||
if ($ITGlueBox.IsChecked) {
|
||||
Write-Host "[INFO] Provisioning IT Glue..."
|
||||
Invoke-ITGlueProvision -CompanyName $company -Credentials $script:toolCredentials
|
||||
}
|
||||
|
||||
|
||||
$StatusBlock.Text = "Provisioning completed successfully."
|
||||
Write-Host "[SUCCESS] Provisioning complete."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user