diff --git a/Automate Outlook Signature - Deploy Once and Forget It/AutomateSignatureInOutlook.ps1 b/Automate Outlook Signature - Deploy Once and Forget It/AutomateSignatureInOutlook.ps1 index 0373cb4..3113857 100644 --- a/Automate Outlook Signature - Deploy Once and Forget It/AutomateSignatureInOutlook.ps1 +++ b/Automate Outlook Signature - Deploy Once and Forget It/AutomateSignatureInOutlook.ps1 @@ -228,7 +228,7 @@ function Get-UsersForAssignSignature { $Headers = (Import-Csv -Path $Path | Get-Member -MemberType NoteProperty).Name $UsersCollection = Import-Csv -Path $Path | Select-Object -Property UserPrincipalName | Sort-Object -Property UserPrincipalName -Unique -ErrorAction Stop - if ('UserPrincipalName' -in $Headers -and $UsersCollection.count -gt 1) + if ('UserPrincipalName' -in $Headers -and $UsersCollection.count -ge 1) { if (-not $TaskScheduler) {