Update O365UserLicenseReport.ps1

This commit is contained in:
AdminDroid 2019-12-06 12:08:26 +05:30
parent a1ed272e1e
commit 9fe919b43f

View File

@ -13,7 +13,7 @@ Function Get_UsersLicenseInfo
$FriendlyNameOfLicensePlanWithService="" $FriendlyNameOfLicensePlanWithService=""
$upn=$_.userprincipalname $upn=$_.userprincipalname
$Country=$_.Country $Country=$_.Country
if($Country -eq "") if([string]$Country -eq "")
{ {
$Country="-" $Country="-"
} }