Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Viewing all articles
Browse latest Browse all 9071

PowerCli - Host Profiles

$
0
0

Hi,

 

I'll have a Host Profile created for a Cluster (with some nodes, three), and I'm trying to automatically fill the "answers" for the Cluster host Profiles instead of fill all network settings manually for each Host.

You may know that Hosts are already installed and running, aren't new installations. We are creating profiles to have homogeneus configuration.

 

I was trying to use a technique like these I've found on internet: https://infrastructureadventures.wordpress.com/2012/07/30/creating-host-profile-answer-files-with-powercli/

Creating Host Profile Answer Files with PowerCLI | Infrastructure Adventures

Automating ESXi Host Profile and Answer File with Powercli | NutzandBolts - An IT Systems Engineer Experiences

 

But when I tried to obtain the answer questions using a command like this

$AdditionalConfiguration=Apply-VMHostProfile -profile $profilname -entity $VMHost -ApplyOnly -confirm:$false

 

Variable "$additionalConfiguration" appears to be empty

 

or when I run

get-vmhost "myhost" | Get-VMHostProfileRequiredInput

 

It use to be empty too.

 

 

As workaroud I had to fill it manually, but I'd like to automate it, We have many ESX servers to configure with Host Profiles.

 

 

Any idea, suggestion?

 

Thanks in advance


Viewing all articles
Browse latest Browse all 9071

Trending Articles