VMware Cloud Community
hharold
Enthusiast
Enthusiast

Edit Host Profiles with PowerCLI

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

0 Kudos
4 Replies
hharold
Enthusiast
Enthusiast

And while we are at it...

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

Regards,

Harold

0 Kudos
johndavidd
Enthusiast
Enthusiast

Harold,

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

Thanks,

JD

0 Kudos
jkeegan
Contributor
Contributor

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-p...

Please let me know if you have any feedback.

Thanks,

Joe

0 Kudos
johndavidd
Enthusiast
Enthusiast

Thanks, i'll check it out.

0 Kudos