Private/New-FMTSession.ps1
# Preflight check for FMT functions function New-FMTSession { $context = Get-AzContext if (!$context) { Write-Host -ForegroundColor yellow '-- Please connect to Azure using Connect-AzAccount --' return $false } else { return $true } } |