Example Powershell Script With Functions In Php