Combine 3 x scripts with a foreach?

This post was originally published on this site

Hello all,

These all work individually.  I’d like to have 1 script that does all of this.   

 

My ultimate goal would be to combine these 3 in this order: 

  1. VMtools first with no reboot.
  2. Time settings advance parameters add no reboot. 
  3. Upgrade HW flag w/reboot. 

 

The reboot at the end would finalize everything.  Instead of multiple reboots with separate scripts. 

 

Again all 3 of these work separately.  But I have to manually reboot.  And there’s no for each loop on the time sync script.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.