Giter Club home page Giter Club logo

powershellpushover's Introduction

PowerShellPushOver

This module provides a simplified interface for PowerShell scripts and processes to send push notifications using PushOver to Android and iOS devices.


Available CMDLets

###Send-Pushover ####SYNOPSIS Sends a push notification alert to a specific user using PushOver.net ####DESCRIPTION Use this function to send push notification alerts using the PushOver.net API.

###Test-Pushover ####SYNOPSIS Tests if the API, User, Group or Device Tokens are Valid ####DESCRIPTION As an optional step in collecting user keys for users of your application, you may verify those keys to ensure that a user has copied them properly, that the account is valid, and that there is at least one active device on the account. User and group identifiers may be verified as can Device Identifiers.

###Get-PushoverReceipt ####SYNOPSIS Get's Pushover Receipt information in regards to an Emergency notification. ####DESCRIPTION Applications sending emergency-priority notifications will receive a receipt parameter from our API when a notification has been queued. This parameter is a case-sensitive, 30 character string containing the character set [A-Za-z0-9]. This receipt can be used to periodically poll our receipts API to get the status of your notification, up to 1 week after your notification has been received.


Installation

Installation from PowerShell Gallery: Install-Module -Name PowerShellPushOver

Installation from GitHub: Simply clone the repository to a location that is part of the PSModulePath.

powershellpushover's People

Contributors

kjacobsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

powershellpushover's Issues

Typo in Examples

Hey Kieran - Thanks for the PowerShell Pushover script. I'm new to PS and this was quite helpful.

I did notice that there appears to be a typo in the Examples... To get it to run I had to use:

Send-PushOver -Token "mytokenhere" -User "myuserhere" -Message "Test Alert"

Instead of "-APIToken" as shown in the examples in send-pushover.ps1:

.EXAMPLE
Send-PushOver -APIToken 'KzGDORePK8gMaC0QOYAMyEEuzJnyUi' -User 'pQiRzpo4DXghDmr9QzzfQu27cmVRsG' -Message "Test Alert"
Sends message "test alert" to user with token specified

.EXAMPLE
Send-PushOver -APIToken 'KzGDORePK8gMaC0QOYAMyEEuzJnyUi' -User 'pQiRzpo4DXghDmr9QzzfQu27cmVRsG' -Message "Test Alert" -DeviceID 'droid2'
Sends a message "Test Alert" to the user and the specified device

Thanks again,
Brian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.