SailPointIdentityNow.psm1
$IdentityNowConfiguration = @{ orgName = $null v2 = $null v3 = $null AdminCredential = $null DefaultOrg = $null } $IdentityNowConfigurationFile = Join-Path $env:LOCALAPPDATA IdentityNowConfiguration.clixml if (Test-Path $IdentityNowConfigurationFile) { $IdentityNowConfiguration = Import-Clixml $IdentityNowConfigurationFile } [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Get-ChildItem "$PSScriptRoot/scripts/*.ps1" | ForEach-Object { . $_ } if ($null -ne $IdentityNowConfiguration.DefaultOrg){ Set-IdentityNowOrg -orgName $IdentityNowConfiguration.DefaultOrg } |