How To Create And Call Function In Powershell Script