Hello,
i have a file in which 20 hosts are entered. Each host is patched with a task scheduler. All hosts have the same task. Now I want to add a “local command” to the end of the task. This should now call a PS script that updates the vmware tools. To do this, I want to read the host name from the line and write it into a PS variable. I want to use this variable in a separate PS script to update the vmware tools. Maybe I can run the “local command” with a parameter that can pass the hostname to my PS script? Now my question is, is this possible, and if so, how?
Thanks
Michael