Powershell Create Function In Script