vmware / PowerCLI-Example-Scripts

http://blogs.vmware.com/powercli
Other
746 stars 603 forks source link

VMware.vSphere.SsoAdmin: AddActiveDirectoryExternalDomain #491

Open Alta2048 opened 2 years ago

Alta2048 commented 2 years ago

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:

dmilov commented 2 years ago

Hi,

Alta2048 commented 2 years ago

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 ?