Forum Discussion

MikeM11's avatar
MikeM11
Level 4
13 years ago

Automate vmchange

Hi, I am trying to automate the multi inject process without success.  I have a script (as below) which I can run as a batch file and works correctly but requires interaction (press Enter to contin...
  • MikeM11's avatar
    13 years ago

    Hi,

    Thank you for the suggestion, however removing the -w switch removes the wait function.

    I have now solved this by changing the script to the below:

    vmupdate -rt tld -rn 0 -rh servername.domain -use_barcode_rules -empty_map

    the -empty_map switch appears to be undocumented but works fine.  This, added to a batch file and run through a Windows scheduled task is how this has been automated.

    Thanks, Mike