VMware Cloud Community
TRamires
Contributor
Contributor
Jump to solution

Disable vcenter user

Hello.

Is there a way of disabling a local vcenter user through powercli?

I've tried using set-SsoPersonUser but it looks like there is no paramater to only disable the user, only to remove.

Thank you.

Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Yes, that is an SSO user.
Did you try the Enable switch?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Reply
0 Kudos
4 Replies
LucD
Leadership
Leadership
Jump to solution

Afaik, the Set-SsoPersonUser does have an Enable switch.

But are you talking about an SSO user or a local OS user on the VCSA?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
TRamires
Contributor
Contributor
Jump to solution

Hi,

I'm talking about a system domain user, so I think it is an SSO user.

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

Yes, that is an SSO user.
Did you try the Enable switch?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
TRamires
Contributor
Contributor
Jump to solution

I've just checked and I was using module VMware.vSphere.SsoAdmin 1.2.2

The enable switch was implemented on version 1.3.2 (https://githubmemory.com/repo/vmware/PowerCLI-Example-Scripts/issues/470)

Thank you.

Reply
0 Kudos