VMware Cloud Community
abillings45
Contributor
Contributor

Removing Shell Access From User using POWERCLI

I am trying to create a user account on an esxi server using POWERCLI.  I can create the user with no issues, but the "enable shell access" capability is checked by default.  I want to remove this from the user I create via POWERCLI.  Please not I do *not* want to disable shell access to all users, or to the server.  Just the one user I am creating.  Does anyone know the proper command syntax to do this?

Reply
0 Kudos
2 Replies
jsm79
Enthusiast
Enthusiast

Reply
0 Kudos
eran321
Contributor
Contributor

did you find how?

Reply
0 Kudos