https://github.com/startautomating/powroku
Script your Roku with PowerShell
https://github.com/startautomating/powroku
Last synced: 7 months ago
JSON representation
Script your Roku with PowerShell
- Host: GitHub
- URL: https://github.com/startautomating/powroku
- Owner: StartAutomating
- License: mit
- Created: 2021-08-03T09:07:27.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-25T20:45:45.000Z (over 4 years ago)
- Last Synced: 2025-04-05T05:15:41.549Z (10 months ago)
- Language: PowerShell
- Size: 30.3 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PowRoku is a nifty little PowerShell module to help automate your Roku(s).
It is built atop the [Roku External Control Protocol](https://developer.roku.com/docs/developer-program/debugging/external-control-api.md).
You can use PowRoku to control Roku devices and Roku TVs.
Assuming you have a Roku TV, and it's on, use this to try it out:
~~~PowerShell
Find-Roku # Find your Rokus
Find-Roku | Get-Roku -App # Get all of the Apps on each Roku
Find-Roku | Get-Roku -ActiveApp # Get the Active App on each Roku
Find-Roku | Stop-Roku # Turn your Roku TV off (only works for Rokus which support PowerOff)
# Turn up the volume
Send-Roku -Method POST -Data '' -Command Keypress/VolumeUp
Find-Roku |
Get-Roku -App |
Where-Object { $_.Name -eq 'Netflix' } |
Start-Roku
Start-Roku -MacAddress $myRokuMac # Send a Wake-on-Lan to your Roku's MACAddress
~~~