Skip to content

Commit

Permalink
Merge pull request #324 from Snozzberries/prerelFix
Browse files Browse the repository at this point in the history
Two bug fixes
  • Loading branch information
merill authored Jul 12, 2024
2 parents 6958744 + e8801f7 commit d46a97b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powershell/public/Connect-Maester.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Function Connect-Maester {
}
}
Write-Verbose "Connecting to Microsoft Security & Complaince PowerShell"
if ($Service -notcontains "ExchangeOnline" -or $Service -notcontains "All"){
if ($Service -notcontains "ExchangeOnline" -and $Service -notcontains "All"){
Write-Host "`nThe Security & Complaince module is dependent on the Exchange Online module. Please include ExchangeOnline when specifying the services.`nFor more information see https://learn.microsoft.com/en-us/powershell/exchange/connect-to-scc-powershell" -ForegroundColor Red
}else{
if ($UseDeviceCode){
Expand Down

0 comments on commit d46a97b

Please sign in to comment.