with a custom user exit. not in cs.ini unless you can figure out how to do it in vbscript all in one line
On Thu, Jul 25, 2013 at 8:12 AM, Marcum, John <[email protected]> wrote: > In customsettings.ini is it possible to use more than one condition to > set OSDComputerName? Has anyone done something like this? > > > > > > Here's what I am trying to accomplish. > > > > 1. Default gateway? > > 2. Physical or Virtual? > > 3. If physical is laptop or is desktop? > > 4. serial number if physical UUID if virtual > > > > And I want to end up with a name like this; > > > > *First 4 character:* > > default gateway = 10.10.10.10 or 10.10.10.20 - first 4 letters of computer > name are "BHM-" > > > > *Next two characters:* > > Virtual is YES - next two letters of computer name are "V-" > > Laptop is Yes - - next two letters of computer name are "L-" > > Desktop is Yes - - next two letters of computer name are "D-" > > > > *Last characters of computer name:* > > > > If physical then "serial number" > > if virtual then VM#Right(replace("%UUID%"," ",""),8)# > > > > *End result would be something like this:* > > * * > > BHM-D-12345678 > > JKS-L-12345678 > > NSV-V-12345678 > > > > > > > > > > > > > * > ------------------------------ > * > > *John Marcum* > *Sr. Desktop Architect* > > *Bradley Arant Boult Cummings LLP* > ------------------------------ > > > > ------------------------------ > > Confidentiality Notice: This e-mail is from a law firm and may be > protected by the attorney-client or work product privileges. If you have > received this message in error, please notify the sender by replying to > this e-mail and then delete it from your computer. > >

