Remove-Diacritics

Hi guys,
it is easy write Powershell script to create users based on the settings in CSV file. Much more difficult is naming convention for logon names. Few month ago I found pretty little function to remove diacritics from string. It is really easy to use this function:


$newString = Remove-Diacritics ("ěščřžžřýí")
or
Write-host (Remove-Diacritics("ěščřžřžý"))



Komentáře

Populární příspěvky z tohoto blogu

Copy Group Membership to another user

Set up Auto Logon in Windows using PowerShell

Lync 2013 Persistent Chat Service not starting