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 continue). I need to add this as a scheduled task and therefore need to get a script that does not require this interaction:
vmchange -multi_inject -w -res -rt tld -verbose -rn 0 -rh servername.domainname
vmupdate -rt tld -rn 0 -rh servername.domainname -use_barcode_rules
Does anyone have the magical switch that can enable me to automate this?
Thanks, Mike
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