Created
October 22, 2016 11:48
-
-
Save jishi/4399000fa2aebeef801c25d37eb17e5b to your computer and use it in GitHub Desktop.
Powershell example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Invoke-WebRequest -Uri http://192.168.1.157:1400/MediaRenderer/AVTransport/Control -Method Post -Headers @{ SOAPACTION = '"urn:schemas-upnp-org:service:AVTransport:1#Play"' } -Body '<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><Speed>1</Speed></u:Play></s:Body></s:Envelope>' -OutFile '$null' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment