PowerCLI-Example-Scripts
PowerCLI-Example-Scripts copied to clipboard
VMware.vSphere.SsoAdmin: AddActiveDirectoryExternalDomain
Hi All, my understanding is that Add-ExternalDomainIdentitySource is in reality:
$connection.Client.AddActiveDirectoryExternalDomain(
$DomainName,
$DomainAlias,
$Name,
$PrimaryUrl,
$BaseDNUsers,
$BaseDNGroups,
$Username,
$Password,
$DomainServerType)
I do not see the option for:
- Identity source type Active Directory (windows integrated authentication)
- Domain Name
- Use Machine account OR SPN This will require only 3 properties. Is that possible via cli ?
Hi,
- The
DomainServerTypeparameter is the Identity Source Type. It is limited toActiveDirectoryat the moment - The
DomainNameparameter is available - Only
passwordauthentication method is exposed at the moment. Machine account and SPN can be exposed as well. This would go as a feature request.
Thanks for your quick answer , I have added the feature request here: Powercli 361 .Maybe the integration depend on domain join ?
"/opt/likewise/bin/domainjoin-cli join --ou 'DomainOU' DomainName Domainusername Domainpassword "
Sorry I have another remark : Is this possible to use a PS Credential object as parameter instead of two properties username and password ?