Example Powershell Script With Functions In R