Removed curl.exe calls from set_state.ps1.erb

* replaced the curl.exe call with the native Invoke-WebRequest available in powershell