I'm trying to run the following command in windows. I've managed to install cURL, but Grep still fails to identify as a command.
curl -k --silent "http://192.168.1.135:88/cgi-bin/CGIProxy.fcgi?cmd=getDevState&usr=USERNAME&pwd=PASSWORD" \
| grep -oP "(?<=motionDetectAlarm>).*?(?=</motionDetectAlarm>)"
Is there an alternative command or a way to install Grep onto Windows?
Update
I've installed Grep and added the following to my Path variables, both system and user, and restarted to no avail.
C:\Program Files (x86)\GnuWin32