Changing Run Once entries in multiple Virtual Center customization specs...

powershell

Summary:

Script built to update multiple Virtual Center Windows customization scripts in one easy step.

Powershell Code:

http://docs.google.com/View?id=ddvthst9_15fsx7vdgb

Details:

I have several customization scripts that all are configured in almost the exact same way minus IP gateway settings (thus the need for many specs). I needed to add a couple more run once commands to to fix an issue we were having with McAfee ePO agents that were statically installed on templates. The agent apparently generates a unique GUID and mac address in the registry associated with the systems name. To fix this when cloning the template I needed to delete these two registry entries so ePO would regenerate new ones when the cloned template builds it would register properly with ePO.

There is probably a bit more that can be done with this script, but it’s done what I need it to do for now.

Comments

Popular posts from this blog

NSX-T: vCenter and NSX-T Inventory out of Sync (Hosts in vSphere not showing up in NSX-T)

MacOS: AnyConnect VPN client was unable to successfully verify the IP forwarding table modifications.

vCenter: Cluster Skip Quickstart Workflow via API