I need to add an AD group to the local administrators group when deploying a new VM from template. Using New-OSCustomization with -GuiRunOnce option this is what i was looking to use this:
net localgroup administrators "my.domain.com\the - grouop- name" /add
But not sure if or how i can...any ideas?