Coder Social home page Coder Social logo

powershell-sms's People

Contributors

bmsimons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

powershell-sms's Issues

Error: New-Object : Cannot find an overload for "PSCredential" and the argument count: "2".

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

  • ... Credential (New-Object System.Management.Automation.PSCredential($Twi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [New-Object], MethodException
    • FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand

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

Get balance powershell

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 SMSAPI

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

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.