regex - Filter Arabic Words Using PowerShell -
we have accounts in active directory arabic display name , want change english, don't know how these accounts first using powershell. use quest activeroles query active directory
get-qaduser -sizelimit 0 -searchroot "ou location" | ? {$_.displayname -contains "the arabic letter filter"}
thanks
you test regular expression find arabic letters in names. following yield true
because of arabic letter (ـأ
) in middle of word:
"blaـأbla" -match "\p{isarabic}"
Comments
Post a Comment