Thanks Luc.
One more doubt, I want to ensure all VMware admins get Set-VMAdvancedConfiguration cmdlet to run, is it good idea to load $profile.AllUsersAllHosts with the functions. I'm also planning to include customized functions defined over here Working with VM Devices in PowerCLI | VMware PowerCLI Blog - VMware Blogs