PushoverForPS closely follows the API documentation for Pushover. It checks that all tokens, keys, and device names conform to the specified character se
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.
The Pushover Groups API is also fully implemented. This allows retrieving of group membership, adding and removing users from groups, enabling and disabling users temporarily, and renaming groups.
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.
For more information run Get-Help PushoverForPS.
To learn about Pushover, go to https://pushover.net/
Minimum PowerShell version
(c) 2016 Chris Carter. All rights reserved.
Send-Pushover Test-PushoverKey Receive-PushoverReceipt Stop-PushoverRetry Receive-PushoverSound Receive-PushoverGroup Add-PushoverUserToGroup Remove-PushoverUserFromGroup Disable-PushoverUser Enable-PushoverUser Rename-PushoverGroup
This module has no dependencies.
The Groups API has been fully implemented. Adding, removing, enabling, and disabling users in groups is available, as is retrieving group information, and renaming them.
I'm still going back and forth on the type of the response returns from the various commands. Right now they are PSCustomObject, but I thought about making them a custom type. Plus, I also keep going back and forth about whether the properties returned should be more in line with .NET and be $response.CalledBackAt vs their current form straight from the Pushover API, $response.Called_Back_At. Any opinions on this would be welcome.