Have you played with the Quest AD cmdlets (
http://www.quest.com/powershell/act...rver.aspx) yet? To do this with their stuff you would use two cmdlets: Connect-QAdService (and you can specify alternate creds), and the New-QAdComputer to create the account. Here is a snippet from the help file:
NAME
New-QADComputer
SYNOPSIS
Create a new computer object in Active Directory Domain Services.
This cmdlet is part of the Quest ActiveRoles Server product. Use Get-QARSProductInfo to view
information about ActiveRoles Server.
SYNTAX
New-QADComputer [-Name] -ParentContainer [-Connection
] [-ConnectionAccount ] [-ConnectionPassword ] [-Control
] [-Credential ] [-Description ] [-DeserializeValues]
[-DisplayName ] [-ExcludedProperties ] [-IncludedProperties ]
[-Location ] [-ManagedBy ] [-ObjectAttributes
] [-Password ] [-Proxy] [-SamAccountName ]
[-SecondaryOwner ] [-Service ] [-TrustForDelegation]
[-UseDefaultExcludedProperties ] [-UseGlobalCatalog] [-Confirm] [-WhatIf]
[]
DESCRIPTION
Use this cmdlet to create a new Active Directory computer object. You can use this cmdlet to
provision a computer account before the computer is added to the domain. Note that this cmdlet
does not join a computer to a domain.