The approach I'm taking is to query the server's LCM directly when I run the DSC configuration script to generate a MOF.
I'm setting a parameter that expects a computer name when the configuration script is run and then it queries the server(s) defined to retrieve the GUID from LCM. It then uses that as the node name and generates a MOF file with the GUID as the file name. Saves a lot of hassle trying track GUID's and writing a ton of tools.
↧
Reply To: Managing Hostnames vs. GUIDs on a Pull Server
↧