Scripting Question

Changing hostnames based on location of image

08/22/2017 508 views
I currently deploy Win7 (sysprepped) images via my K2000.  I've currently set up my main deployment so that the hostnames are based on a set format using the "setcomputername" app.  Basically "location - service tag".  Works very well.  I sync this image to my RSAs (remote K2000) located in other countries. It would be awesome to be able to have the "location" part of the hostname change based on where the image is being deployed.  Is there a variable that can be used, similar to the $serial in "setcomputername" that could be used to change the location to a specific suffix so that my hostnames changed based on where the system was imaged?


0 Comments   [ + ] Show comments


Be the first to answer this question

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ