fix: Test-Error verbose call and Get-CISMgOutput Parameter
This commit is contained in:
@@ -60,7 +60,8 @@ function Get-CISMgOutput {
|
||||
# Test-PasswordNeverExpirePolicy.ps1
|
||||
$domains = if ($DomainName) {
|
||||
Get-MgDomain -DomainId $DomainName
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
Get-MgDomain
|
||||
}
|
||||
return $domains
|
||||
|
||||
Reference in New Issue
Block a user