Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 244595

Re: Answer file for host profile questions

$
0
0

The result of the Apply-VMHostProfile is a hash table, so you'll have to use the Get-Enumerator function to retrieve the key and the value.

Something like this

 

$hprof=Get-VMHostProfile-Name"My HostProfile"
$AdditionalConfiguration=Apply-VMHostProfile-Profile$hprof-EntityMMMSTV004*-ApplyOnly-Confirm:$false
$AdditionalConfiguration
.GetEnumerator() |
Select
Key|
Export-Csv
c:\hprof.csv-NoTypeInformation-UseCulture

 

Thanks for drawing our attention to that mistake.


Viewing all articles
Browse latest Browse all 244595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>