ComputerManagementDsc
ComputerManagementDsc copied to clipboard
Add option to set description on AD object
Hi Is it possible to create a parameter or to re-use "Computer\Description" and replicate it the Computer Object in AD? The current "Description" fields set a local description and in dynamic environment, where you have 100s of random computer names (like AWS / Azure) it would be very beneficial to have a description on joined machines. Please advise of any solution. Regards
I do not see this in the scope of the Computer resource. Setting the description in AD is a different task. But one can do this using the ADComputer resource. Is that an option?
I very much would like that feature, but it's 1000% out of scope. That ought to be in OS code somewhere, the same way that the computer reports to AD what OS it's running when it joins the domain. I scripted it (bi-directional!) in a logon script in a past life and it ran regularly on 800 workstations. I loved it. But, yeah, not here.
I'd agree that we shouldn't increase the scope of this resource beyond the join process itself. Configuring of AD objects should be the responsibility of the ActiveDirectoryDsc resource. We could put an example in here though showing how to do a domain join followed by configuring an computer object?