I'l trying to add a user to ESXi using this command
New-VIPermission -Entity (Get-Folder root) -Principal $ESXiNewUser -Role $ESXiPermission
for Variable $ESXiPermission I'm adding Read-only wich is available in ESXi roles, unfortunately I get the below error message:
New-VIPermission Could not find Role with name 'Read-only'.
what's wrong here?