I want to run batch files and powershell scripts as part of the process of provision new windows servers. Now totally failed to find examples or documentation on how to use 'run once', clearly my 'google-fu' is weak.
If I have X batch file and Y powershell script located in Z directory on the template what do I put into 'run once' field to kick them off when the template is cloned and the customization is applied?
Regards,
Michael
Let's say you have Z already mounted when this system is provisioned and you want to run a BAT script at Z:\script.bat. Your run once could just be the following.
Let's say you have Z already mounted when this system is provisioned and you want to run a BAT script at Z:\script.bat. Your run once could just be the following.
Perfect!
Thank you!
Michael