So I’m creating a script that builds a VM for you, imports the NetBIOS name & MAC address into SCCM, adds it to a specific collection, and then powers on the VM. If you have a mandatory OS Deployment for that collection, you don’t have to do anything but sit back and watch (given your Task Sequence is fully automated).
It prompts you for vCenter name, VM name, cpu, ram, description, disk size, queries vcenter for clusters, networks, datastores (sorted by free space), and verifies with you before building…
I’m excited & pleased that it’s actually working. It’s currently proprietary to my work environment, but I will try to strip all that out and let you change what needs to be changed to use it where you like.
Happy Scripting!!!
By Automated deployment script builds VM, registers in SCCM - ThepHuck May 27, 2011 - 8:23 am
[...] Automated deployment script builds VM, registers in SCCM May.27, 2011 by Luke in SCCM, Scripts This is a follow-up to my last post about fully automated deployment [...]
By Cartier December 14, 2011 - 2:33 pm
Hello – Has anyone use this script and modify for physical server box instead of VM? I would like to collect inputs (domain name (we have multiple domains), computer name, and OS) and build the OS based on these information.
Thank you.
By Luke December 14, 2011 - 3:10 pm
I have not, but I’m sure it could be done fairly easily. You’d need to input the MAC address as well (or SMBIOS GUID), though, or else SCCM won’t have record of the server.