WMI Query would be the easiest.. SELECT * FROM Win32_ComputerSystem WHERE (Name LIKE "%ABCD%")
Rich Mawdsley From: [email protected] [mailto:[email protected]] On Behalf Of Kehl Reto Sent: 18 March 2016 13:25 To: [email protected] Subject: [mssms] install software in OSD depending on computername Dear all I want to install specific software during OSD depending on the first 4 chars from the computername, something like "if left$(OSDComputername)="ABCD" then install this" how can I do this? Thanks, Reto
