Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Write-Output 'Powering on the receiver...'
- Send-ONKYOCommand -OnkyoIP 192.168.1.100 -Command '!1PWR01'
- Write-Output 'Turning zone 2 off...'
- Send-ONKYOCommand -OnkyoIP 192.168.1.100 -Command '!1ZPW00'
- Write-Output 'Switching to network mode...'
- Send-ONKYOCommand -OnkyoIP 192.168.1.100 -Command '!1SLI2B' -Verbose
- Write-Output 'Selecting home media to prevent bugs...'
- Send-ONKYOCommand -OnkyoIP 192.168.1.100 -Command '!1NSV11' -Verbose
- Write-Output 'Sleeping...'
- Start-Sleep -Seconds 10
- Write-Output 'Selecting spotify again...'
- Send-ONKYOCommand -OnkyoIP 192.168.1.100 -Command '!1NSV0A' -Verbose
- Write-Output 'Sleeping...'
- Start-Sleep -Seconds 10
- Write-Output 'Turning zone 2 on...'
- Send-ONKYOCommand -OnkyoIP 192.168.1.100 -Command '!1ZPW01'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement