Trying to test hostprofile compliance on all hosts at once for some odd reason cun't seem to run this async. In the GUI there is one button on for the hostprofile to check compliance on all hosts its attached to, ideally I would like to hot that but otherwise is there another way I could run against all at once?
foreach ($esxiserver in $esxiservers){
Test-VMHostProfileCompliance -VMHost $esxiserver -RunAsync
}
Test-VMHostProfileCompliance : A parameter cannot be found that matches parameter name 'RunAsync'.
Nicholas