I have created a kickstart script for ESX 3.5 installation, which is working fine apart from adding user roles
The following command works fine after my installation is completed but will not work on the script
vmware-vim-cmd vimsvc/auth/entity_permission_add vim.Folder:ha-folder-root 'username' false Admin true
Any help will be highly appreciated