Sam_B
(Getting the hang of it)
2010-03-21 05:51 PM
Best way to join a Windows 7 client to a domain

Hi folks,

we will start to deploy Windows 7 in our company and therefore I have to test my kix scripts with Windows 7. I used netdom.exe to join XP machines to a domain but this command is no longer supported for Windows 7 Now I search for an alternative to netdom in my scripts.

What do you think is the best was to join Windows 7 clients to a domain with a KIX script?

Using WMI Code? i.e. objComputer.JoinDomainOrWorkgroup()
Trying to call a PowerShell script from Kix to do the job?
any other alternative?

Many thanks for your hints