Private/Globals.ps1
# BaseUri for the MOVEit Automation server # Will be set by Connect-MIAServer $script:BaseUri = '' # Variable to hold the current Auth Token. # Will be set by Connect-MIAServer $script:Token = @() # Support multiple contexts using the # -Context parameter. We'll use a # hashtable to store each context. $script:Context = @{ Default = @{ BaseUri = '' Token = @() } } $script:DEFAULT_CONTEXT = 'Default' |