The scenario is this: there is about 40 workstations that get regular backups and I would like to convert them to VMs and send them off to a disaster recovery site and then add them to the VCenter server cluster I've got there. Everything works great up until the point of putting them back on the domain...
Using PowerShell 2 makes it rather simple to script removing a computer from the domain and then after having it restart, adding it back again. The problem comes when trying to apply the script to the computers, especially multiple ones. So is there a way to mass apply a PS script to dozens of VMs? Or am I thinking of this wrongly?