From 9fe919b43f1f56322f6adb5f3943459e0be29594 Mon Sep 17 00:00:00 2001 From: AdminDroid <49208841+admindroid-community@users.noreply.github.com> Date: Fri, 6 Dec 2019 12:08:26 +0530 Subject: [PATCH] Update O365UserLicenseReport.ps1 --- Office 365 User License Report/O365UserLicenseReport.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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="-" }