BitTitan.Runbooks.PartnerCenter.psm1

<#
.SYNOPSIS
    PowerShell module for common Partner Center functions and resources used in BitTitan Runbooks
.NOTES
    Version: 0.3.12
    Last updated: 11 March 2019
 
    Copyright (c) BitTitan, Inc. All rights reserved.
    Licensed under the MIT License.
#>


# Install/import BitTitan.Runbooks.Modules to bootstrap the install/import of the other modules
if ("BitTitan.Runbooks.Modules" -notIn (Get-Module).Name) {
    Install-Module BitTitan.Runbooks.Modules -Scope CurrentUser -AllowClobber -Force
    Import-Module -Name "$($env:USERPROFILE)\Documents\WindowsPowerShell\Modules\BitTitan.Runbooks.Modules" -Force
}

# Install/import external modules
Import-ExternalModule PartnerCenter -RequiredVersion 1.5.1812.1

# Install/import the other BitTitan.Runbooks modules
Import-BT_Module BitTitan.Runbooks.Common -Quiet