Jump to content

Product Enhancement request


jimwillsher
 Share

Recommended Posts

Hi

I use ERA daily, and on thing I am using extensively is the "Run Command" option. Specifically, I am using this with PowerShell.

Typing a multi-line PS script into the tiny "command to execute" box on the Run Command task, prefixed with "powershell" is really clunky, and I invariably have to compose the script in Notepad first. Here's an example:

$secpasswd = ConvertTo-SecureString 'abc123' -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential ('xxx', $secpasswd)
Invoke-WebRequest 'http://xxx.co.uk/TeamViewer/SH.jpg' -OutFile 'C:\Windows\Temp\SH.jpg' -Credential $cred"

which I have to type into the task as:

powershell -Command "$secpasswd = ConvertTo-SecureString 'abc123' -AsPlainText -Force;$cred = New-Object System.Management.Automation.PSCredential ('xxx', $secpasswd);Invoke-WebRequest 'http://xxx.co.uk/TeamViewer/SH.jpg' -OutFile 'C:\Windows\Temp\SH.jpg' -Credential $cred"

it would be great if there was a separate "Execute PowerShell" task, with a multi-line edit box, allowing much more complex PS scripts to be composed.

Many thanks

 

Jim

Link to comment
Share on other sites

  • Administrators

I would recommend posting this in https://forum.eset.com/topic/14271-future-changes-to-eset-security-management-center-eset-remote-administrator which is monitored by ESET staff who is responsible for deciding about features to implement.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...