The PushoverForPS module includes commands for easily working with the Pushover API.
The PowerShell PushoverForPS module provides commands for interacting with the Pushover API to send notifications to Android, iOS, and desktop browsers such as Chrome, Firefox, and Safari directly from PowerShell.
PushoverForPS closely follows the API documentation for Pushover. It checks that all tokens, keys, and device names conform to the specified character sets. The list of availble sounds are not hard-coded; they are retrieved and stored automatically from Pushover. Any parameters that have character limitations are checked for compliance.
PushoverForPS also includes automatic rate limiting. According to the Pushover API, any identical requests should not be repeated within five seconds of each other. This module checks each request to ensure that it does not match a request sent within the last five seconds. If it has, it will hold the request until five seconds has elapsed.
Receive-PushoverReceipt can be set up to poll the Pushover API periodically as a background job to wait until the Emergency notification has been acknowledged. See Get-Help Receive-PushoverReceipt for more information.
To learn about Pushover or sign up go to https://pushover.net
Send-Pushover is used to generate notifications with the Pushover API.
Receive-PushoverReceipt is used to retrieve the state of Emergency priority notifications that have to be acknowledged.
Test-PushoverKey validates user/group keys and/or device names.
Stop-PushoverRetry stops Emergency priority notification retries.
Receive-PushoverSound retrieves the list of currently available sounds that can be triggered on devices.
Pushover PushoverAPI Notifications Android iOS Chrome Firefox Safari