Issue with Zero Width Space

Iron Contributor

Hello all,

 

I've a situation where my retention label internal names somehow has 'zero width spaces' at the end of the names. As users already using these labels at this point I can't make any changes to the labels. Through PowerShell I'm trying to get the content explorer numbers and below is the command I'm using. But due to zero width space, I'm unable to get the numbers. Can you please review the below and assist me?

 

Connect-IPPSSession

$label = "abcxyz-Files​"

$contentcount = Export-ContentExplorerData-TagType Retention -TagName $label

Write-Output ($contentcount).TotalCount

 

 

0 Replies