VMware Cloud Community
jvm2016
Hot Shot
Hot Shot
Jump to solution

powercli command to check ad domin

hi luc,

is there any powercli property in vm to check for ad domin joined .vm is vcsa or psc.

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Not directly with PowerCLI afaik.
But you can use a SSH session (you can use Posh-SSH) to the PSC, and then run the command '/opt/likewise/bin/domainjoin-cli query'


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

View solution in original post

0 Kudos
4 Replies
LucD
Leadership
Leadership
Jump to solution

Joining a regular VM to a domain is done inside the guest OS of the VM.
There is no way that vSphere would know about this.
You will have to check inside the guest OS.

Or are you trying to find out if a VCSA is joined to an AD domain?


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

0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

yes domain for vcsa and psc.  not for regular vm.

0 Kudos
LucD
Leadership
Leadership
Jump to solution

Not directly with PowerCLI afaik.
But you can use a SSH session (you can use Posh-SSH) to the PSC, and then run the command '/opt/likewise/bin/domainjoin-cli query'


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

0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

ok.

0 Kudos