bmsimons / powershell-sms Goto Github PK
View Code? Open in Web Editor NEWSend SMS messages using SMS APIs with PowerShell.
License: MIT License
Send SMS messages using SMS APIs with PowerShell.
License: MIT License
When I sent a SMS I get the following error:
New-Object : Cannot find an overload for "PSCredential" and the argument count: "2".
At C:\Users\USER\Documents\WindowsPowerShell\Modules\PowerShell-SMS\Actions\Send-SMS.ps1:43 char:148
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Maybe something simple but the PowerShell is new for me.
I have executed:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Import-Module PowerShell-SMS
Set-Twilio -AccountSid ACfc.............c9 -AuthToken 934b...........5d
Send-SMS -To +316.........32 -From +141.............48 -Message "Hello, Pieter!" -Provider Twilio
Running on Win10
$PSVersionTable
Name Value
PSVersion 5.1.19041.610
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.610
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Hi!
Love the script! Been using it for 2 weeks now. Just love it! Keep up the good work.
We do have a question, is it possible to get the remaining balance after a SMS has been send? We are using Nexmo.
With kind regards,
Kopertje
How to use this module with smsapi?
What is "-Bearer YOURBEARERGOESHERE"
is API? or password in MD5?
im trying this (XXXXIx3ZUfjCEov66SkIfhgcQCLVwXLcSIGpXXXX is my API key genereted in panel)
Set-SMSAPI -Bearer XXXXIx3ZUfjCEov66SkIfhgcQCLVwXLcSIGpXXXX
Send-SMS -To +48533XXXXXX -From 'scribe.pl' -Message "Hello, SMSAPI!" -Provider SMSAPI
error message
----- -------
101 Authorization failed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.