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

Re: script to create a host profile for each Host on Vcenter

$
0
0

Try something like this

 

Get-VMHost|

ForEach-Object-Process {

    New-VMHostProfile-Name "$($_.Name)-Profile"-Description "This is my test profile based on $($_.Name))."-ReferenceHost $_-Confirm:$false

}


Viewing all articles
Browse latest Browse all 251313

Trending Articles



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