Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Run powershell file on message received with arguments
sp_NewPost Add Reply sp_NewTopic Add Topic
January 2, 2019
8:39 pm
Henk Helmantel
Admin
Forum Posts: 985
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Alwyn,

Using a powershell script from Diafaan SMS Server is possible but there are a few caveats. In most situations it is probably easier to only use a C# script for the same functionality. The scripts are hard to debug and a tiny mistake means that the script does not work properly.

You can find a description of the process to set this up here.

Regards, Henk

January 2, 2019
8:55 am
Alwyn Soh
Guest
Guests

Hi Henk,

I'm not familiar to C#.
I have a powershell script that will perform a few tricks for me.

What I think i have to do is to create a Script Connector and put something in the OnMessageReceived so that when a list of phone numbers send a command to the SMS Modem, the message will be used as argument for the ps1 file.

I'm having problems setting up the script to invoke the ps1 file and argument.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 514

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 802

Posts: 2768

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 985