Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in Examples #1

Open
BrianInAz opened this issue Apr 12, 2020 · 0 comments
Open

Typo in Examples #1

BrianInAz opened this issue Apr 12, 2020 · 0 comments

Comments

@BrianInAz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant