Creating Functions In Powershell Script Run