Příspěvky

Zobrazují se příspěvky z září, 2014

Add-PSSnapin

Obrázek
As a Sysadmin I have to running scripts repeatedly. Sometimes I am using powershell snapins like ActiveRoles Management Shell or Exchange Management shell. And then annoying message will appear Try to use code bellow in your scripts. You will never see error message again :)

Remove-Diacritics

Obrázek
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 ( "ěščřžřžý" ))