SoftPerfect Network Scanner

Feature request: add script to Open Device menu

Started by WindowsStar

Feature request: add script to Open Device menu   19 June 2017, 01:28

Good Morning,

I would like to request a feature.

Under Options | Remote Scripting .. or Remote PowerShell would you add a second check box. This second check box would add the script to "Open Device..." fly-out menu" like the Options | Program Options | Applications {tab} (Doesn't have to add it here, just making is an option on the "Open Device..." fly-out menu" ) . This way you can right mouse click to run the script. The check boxes could be both on or both off or toggled however needed.

My thoughts are: I would like to add "Get-WUInstall -AcceptAll -AutoReboot" via the Remote PowerShell but I don't want it to run against all machines my scans (this will force all windows updates and then reboot). I would like to uncheck the box for the active during scan but have another box that would allow it to be selected from the Right Mouse Click "Open Device..."

I know I can use the Options | Program Options | Applications {tab} and program my own script or set of commands to do this, just thinking since the software has the PowerShell and scripting built in it would allow you to add it to the "Open Device..." fly-out menu.

Thoughts?

Thanks -WS
SoftPerfect Support forum - Andrew avatar image

Re: Feature request: add script to Open Device menu   19 June 2017, 15:02

We thought about that, but then decided not to do it because:

1) For PowerShell, it simply launches powershell.exe and feeds in the script. There is really no integration and doing something like powershell.exe -File myscript.ps1 in the Applications tab is the exact equivalent.

2) For VBScript, although it's integrated into the app, a script would have to be different. There would be no Input.* or Output.* objects, and WScript would be available instead. It is simpler to specify cscript.exe myscript.vbs or wscript.exe myscript.vbs.

Alternatively you could generate a batch file Actions - Create Batch File as shown below and execute it separately. This way you will have a complete log of succeeded and failed commands:

SoftPerfect support forum

Re: Feature request: add script to Open Device menu   21 June 2017, 15:24

Thanks for the explanation. Great thoughts and I am in agreement. -WS

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **     **  **     **  ********  **    **  **    ** 
 ***   ***  **     **     **     ***   **  ***   ** 
 **** ****  **     **     **     ****  **  ****  ** 
 ** *** **  **     **     **     ** ** **  ** ** ** 
 **     **  **     **     **     **  ****  **  **** 
 **     **  **     **     **     **   ***  **   *** 
 **     **   *******      **     **    **  **    ** 

Message: