TRamires
Contributor
Contributor

Disable vcenter user

Jump to solution

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)
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership

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

0 Kudos
4 Replies
LucD
Leadership
Leadership

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

0 Kudos
TRamires
Contributor
Contributor

Hi,

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

0 Kudos
LucD
Leadership
Leadership

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

0 Kudos
TRamires
Contributor
Contributor

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.

0 Kudos