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

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -