Powershell Script With Functions