we have a customer with multiple geographical locations. I’m working on automation task where PCs will be configured based on its region and country while rebuild using SCCM tool. Configuration settings includes UI language, Timezone, Keyboard language etc.
First three characters in Computer Name has region and country code. for example ‘AAU’ for PCs in Australia. My goal is to write a PowerShell script which will check for computer name and apply settings based on xml data.
I’m failed to build a script logic which would parse xml data and find appropriate settings for that PC
XML Code as -
Appreciate any guideline/help. Please…!