PowerCLI

 View Only
  • 1.  Scripted Domain Join for vSphere 9.x

    Posted Oct 31, 2025 11:27 AM

    Hi All

    We run a scripted deployment methodology and am in the progress of converting our current vCenter deployment scripts to manage a vSphere 9.x estate.

    My developers are telling me that the commands for domain Join (which previously worked) now cease to function.

    Does anyone have a PowerCLI \PowerShell snippet which is known good...?

    Sorry cannot post code or errors, which i appreciate isn't helpful...

    kr



    -------------------------------------------


  • 2.  RE: Scripted Domain Join for vSphere 9.x

    Posted Nov 24, 2025 02:15 AM

    In vSphere 9, direct domain join is deprecated.  The correct method now is to connect via LDAP.  That said, I'm not sure how you would set that programmatically.

    -------------------------------------------