Jump to content

Use of "Run command line" task


Go to solution Solved by MartinK,

Recommended Posts

Hello. 

I would like to use run command line task to update DNS and NTP records on multiple  (250+) computers. I’m planning to use cmdlets to accomplish this, but not sure it will work as my clients PCs are in kiosk mode and for changes to the network settings the admin privileges are required. 

Can this be done using Run command task? 

For now I can’t test this as it is a closed network and I’m not on site.

Thanks for your input.

 

Link to post
Share on other sites
  • ESET Staff
  • Solution
9 hours ago, MicuMacu said:

Thanks, I hoped that this is the case.

So standard cmdlets should work. For multiple cmdlets I can use delimiters. Right? 

Thanks for the help. 

Yes, in case of multiple commands, one have to enter delimited one-liner, as it would be done in one-line BAT file.

Just a note, this will be improved in upcoming released, where multi-line commands will be possible, which should simplify such scenarios.

Link to post
Share on other sites

Great to hear this this is going to be improved, I have some fairly complex PowerScript commands that I execute via the run command.

For example I have commands which will:

  1. Download TeamViewer
  2. Download a config file
  3. Install TeamViewer using msiexec
  4. Email me the TeamViewer ID from the registry.

 

Getting this to work took time, and seeing all this on a single line script is horrible to maintain :) So seeing an improved experience will be fantastic.

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...