Jump to content

jimwillsher

Most Valued Members
  • Content Count

    564
  • Joined

  • Days Won

    5

Everything posted by jimwillsher

  1. 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 of a script which works: which I have to type into the task as a single line, separating the commands with semicolons: 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. Pretty much all Windows computers have PowerShell now, so it would be great if it were easier to interact with it and send commands to client machines in this way. Many thanks Jim
  2. 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
  3. Hello I use the "installed applications" facility a lot, as it's great for telling me what's installed on our different machines. How often does this scanning take place? Our Agent checks-in to ERA every 60 seconds but on one PC there are applications showing which I uninstalled 4-5 hours ago. Is there a way to force a rescan? Many thanks Jim
×
×
  • Create New...