Small useful function which are written in PowerShell