JoinDomainOrWorkgroup Method FJoinOptions help
- by Ben
Anyone have experience of using the JoinDomainOrWorkgroup Method of the Win32_ComputerSystem Class?
I want to write a powershell script to join a machine to a domain. There may be an existing computer account for the machine, and if so I want to delete it and rejoin to the domain.
I've already scripted the "search and destroy" part that will…