I have over 300 VMs that need some VMX settings added and this would take forever to do by hand. I've searched and have not found a script or one-liner to do the job. Everything I find is either a script to change multiple VMX settings for a VM or to change one VMX setting for multiple VMs. I'm still relatively new at PowerCLI but need some help getting this to work. These are the VMX settings I need to add:
Key,Value
isolation.tools.ghi.autologon.disable,True
isolation.bios.bbs.disable,True
isolation.tools.getCreds.disable,True
isolation.tools.ghi.launchmenu.change,True
isolation.tools.memSchedFakeSampleStats.disable,True
isolation.tools.ghi.protocolhandler.info.disable,True
isolation.ghi.host.shellAction.disable,True
isolation.tools.dispTopoRequest.disable,True
isolation.tools.trashFolderState.disable,True
isolation.tools.ghi.trayicon.disable,True
isolation.tools.unity.disable,True
isolation.tools.unityInterlockOperation.disable,True
isolation.tools.unity.push.update.disable,True
isolation.tools.unity.taskbar.disable,True
isolation.tools.unityActive.disable,True
isolation.tools.unity.windowContents.disable,True
isolation.tools.vmxDnDVersionGet.disable,True
isolation.tools.guestDnDVersionSet.disable,True
Thanks for your help!