Öffnet in einem neuen Tab
Neu
SMS MCP-Server: Lassen Sie Ihren AI Agenten SMS und Sprachnachrichten versenden
Mehr dazu

Instructions: Send PowerShell SMS

You can send SMS with the PowerShell. Simply use the SMS API interface from LOX24. In this article, we show you how to do it.

Send SMS with windows powershell
Problem

Windows PowerShell is a framework from Microsoft that includes a command line shell and a scripting language, but no SMS function.

Solution

LOX24 offers you a ready-to-use script „out of the box“ to send SMS worldwide directly from the PowerShell.

Result

You can use PowerShell to receive SMS notifications about the status or result of your scripts, send alarms or warnings about critical events and much more.

How to send SMS with PowerShell


  • First, you must set the ExecutionPolicy to Bypass if you have not already done so. This will enable you to import our SMS script.
  • Start the Powershell as administrator. To do this, search for „powershell“ in the Windows task bar, right-click the result and select „Run as administrator“.

Run the Powershell as administrator

  • Now enter „Set-ExecutionPolicy -ExecutionPolicy Bypass“ in the command line

Set ExecutionPolicy to Bypass

  • Select y for yes

Confirm ExecutionPolicy

Extract script zip via right click

  • Copy the directory path of the unzipped folder as text.

Copy directory path to the PowerShell SMS script as text

  • Use a CD and the directory path to navigate to the folder of our SMS script in PowerShell

Open PowerShell SMS Script

Create API key for Powershell SMS script

  • Now copy this API key into the PowerShell and set it with the following command: Set-Lox24ApiKey -ApiKey „YourApiKeyHere“

Configure API key

  • And then you can send your first SMS. The SMS always has the destination number, the sender ID of your SMS (max. 11 characters of text or 15 digits of phone number) and the SMS text as parameters: Send-SMS -To 491700000000 -From „YourCompany“ -Message „Test SMS from PowerShell!“

Set API key

Programmierer empfängt seine erste PowerShell SMS

Advantages of sending PowerShell SMS with LOX24


The LOX24 SMS API is a powerful and reliable solution for sending SMS messages. With the LOX24 SMS API you can connect your PowerShell to the LOX24 SMS Gateway and send SMS to your customers, partners or employees worldwide. The LOX24 SMS API offers you the following advantages:

  • You benefit from high availability, quality and speed of SMS transmission.
  • You pay low prices without fixed costs or hidden fees.
  • We fulfill the requirements of German data protection law, as all servers are located in Germany,
  • You receive real-time statistics and delivery reports for your SMS messages.

The LOX24 SMS API is therefore an ideal choice for anyone looking for a simple, secure and cost-effective way to integrate SMS messages into their applications. If you would like to learn more about the LOX24 SMS API, you can take a look at the following resources: SMS API

Keep Reading

All articles
SMS-API
Sep. 2024

Wie funktioniert das Filtern von SMS Nachrichten?

Die Filterfunktionen von LOX24 ermöglichen Ihre Kosten zu deckeln und sich vor Angriffen und Fehlfunktionen zu…

SMS-API
Juni 2024

Wie Sie Symfony SMS & Voice Notifications verwenden

Folgen Sie diesen Schritten, um SMS- und Sprachbenachrichtigungen in Symfony zu versenden. Die Integration von SMS-Benachrichtigungen…

SMS Schnittstelle, SMS-API, SMS-Gateway
Jan. 2024

Mail2SMS: SMS Gateway einfach per Mail

Per Mail2SMS senden Sie SMS direkt per E-Mail, ohne dass technische Kenntnisse erforderlich sind . Ein…

2FA, SMS Schnittstelle, SMS-API
Jan. 2024

RSA Authentication Manager SMS Versand

LOX24 SMS lässt sich nahtlos in RSA SecurID, eine führende Plattform für Identitäts- und Zugangsmanagement, integrieren…

SMS Schnittstelle, SMS-API
Jan. 2024

Anleitung: PowerShell SMS senden

Mit der PowerShell können Sie SMS versenden. Nutzen Sie dazu einfach die SMS API Schnittstelle von…

SMS Schnittstelle, SMS-API
Dez. 2023

SMS-Geheimnisse: Wie Sie Ihren Umsatz steigern können

Textnachrichten sind ein wirksames Mittel, um Ihre Kunden zu erreichen und den Umsatz zu steigern.

SMS-API
Dez. 2023

Wie kann ich meinen Umsatz durch SMS steigern?

Steigern Sie Ihren Umsatz mit SMS-Marketing-Kampagnen, Kundenbindung und der Auffrischung von abgebrochenen Warenkörben.

2FA, MFA, SMS Schnittstelle, SMS-API
Okt. 2023

Auth0 SMS und Voice 2FA

Unsere SMS-Integration ermöglicht es Ihnen, LOX24 als MFA-Provider für Auth0 zu nutzen, so dass Sie Einmalpasswörter…

2FA, MFA, SMS Schnittstelle, SMS-API
Okt. 2023

Auth0 SMS und Voice 2FA

Unsere SMS-Integration ermöglicht es Ihnen, LOX24 als MFA-Provider für Auth0 zu nutzen, so dass Sie Einmalpasswörter…

Test for free!

Sign up today and get 50 cents free, with no obligations, for your trial — filters included.