diff --git a/Office 365 User License Report/O365UserLicenseReport.ps1 b/Office 365 User License Report/O365UserLicenseReport.ps1 index 537214c..1df95ea 100644 --- a/Office 365 User License Report/O365UserLicenseReport.ps1 +++ b/Office 365 User License Report/O365UserLicenseReport.ps1 @@ -13,7 +13,7 @@ Function Get_UsersLicenseInfo $FriendlyNameOfLicensePlanWithService="" $upn=$_.userprincipalname $Country=$_.Country - if($Country -eq "") + if([string]$Country -eq "") { $Country="-" }