BitTitan.Runbooks.MSOnline.psm1

<#
.SYNOPSIS
    PowerShell module for common MSOnline functions and resources used in BitTitan Runbooks
.NOTES
    Version: 0.2.9
    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 MSOnline -RequiredVersion 1.1.183.17

# Install/import the other BitTitan.Runbooks modules