Hans de Jongh
asked on
Add active directory read only account to esxi 6.0 host with powershell
Hello,
I want to add an active directory account to the local esxi servers through powercli.
The user has to have shell access and should be in the local group "read only"
Im running esxi 6.0
I have tried the following but i cant get it working
New-VMHostAccount -UserAccount user@domain -GrantShellAccess $true
it keeps asking for a password which i dont want to give as it is a domain account.
Thanks
I want to add an active directory account to the local esxi servers through powercli.
The user has to have shell access and should be in the local group "read only"
Im running esxi 6.0
I have tried the following but i cant get it working
New-VMHostAccount -UserAccount user@domain -GrantShellAccess $true
it keeps asking for a password which i dont want to give as it is a domain account.
Thanks
ASKER
i think you miss understand. It makes no sense to add a passwd to a domain account as that defeats the purpose of a AD account right ( central management).
I need that domain account;)
I need that domain account;)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i googled!
I would not use a domain account unless you have a non virtualized DC, or you will have problems trying to authenticate if the DC's are not running.