Automation

 View Only
  • 1.  Edit Host Profiles with PowerCLI

    Posted Feb 09, 2012 03:43 PM

    Hi all,

    I know we have some limitations on what we can do with PowerCLI and Host Profiles.

    Lately I came to know, thanks to mr. LucD (http://communities.vmware.com/message/1889243 and his own site) that it is possible to modify the root password in Host Profiles.

    But know I have some addittional things I would like to do with Host Profiles and PowerCLI.

    I want to use PowerCLI to:

    • Update Profile from reference host  (workaround is to delete / recreate host profile)

    • Edit these settings in a Host Profile:
      • Networking configuration | DNS configuration | Host Name
        Set to: User specified host name to be used while applying the configuration


      • Authentication configuration | Domain Name
        Set to: Configure a fixed domain name

    Any ideas?

    Thanks!

    Cheers,

    Harold

    @hharold



  • 2.  RE: Edit Host Profiles with PowerCLI

    Posted Feb 09, 2012 04:24 PM

    And while we are at it...

    • Update Answer File with correct domain credentials to join the host to domain

    Regards,

    Harold



  • 3.  RE: Edit Host Profiles with PowerCLI

    Posted Jul 26, 2012 11:43 PM

    Harold,

    What did you ever figure out on this? I have 10+ vCenters so updating these manually is a chore.

    Thanks,

    JD



  • 4.  RE: Edit Host Profiles with PowerCLI

    Posted Sep 25, 2012 03:23 AM

    I recently wrote a PowerCLI function to update a Host Profile from reference host. You can find it at the link below and I hope it works out for you.

    http://infrastructureadventures.com/2012/09/24/update-vsphere-host-profile-from-reference-host-via-powercli/

    Please let me know if you have any feedback.

    Thanks,

    Joe



  • 5.  RE: Edit Host Profiles with PowerCLI

    Posted Sep 25, 2012 09:32 PM

    Thanks, i'll check it out.