Script Name: Install Telnet client on Server 2008 or Vista
Script Description: Install Telnet client on Vista or Server 2008
Execute Shell Command
Parameter 1 : pkgmgr /iu:"TelnetClient"
Parameter 2 : 1
OS Type : 13
I just want to use this script for all my clients. I wrote as this in Kaseya as a procedure:
executeShellCommand("pkgmgr /iu:"TelnetClient" " , "Execute as User" , "All Operating System" , "Halt on Fail")
Just one thing, I want to schedule this script to all my servers to run this script for their clients
Does the script parameterized properly?
You want to execute as system - as user means it will fail if nobody is logged in or a no administrator is logged in or it's a terminal server. Also change all operating system to whatever os you're targeting.
There is a script for use and reference as well in the Automation exchange as well: