I'm trying to join some computers to an Read only domain controller using powershell. The computer accounts already exist with a specific password set. In the past we've used a VBScript to join computers to the rodc using the correct computer account credentials. Looking at the powershell Add-Computer cmdlet I do not see any way to specify a computer account password.
Does anyone know how to accomplish this with Powershell?