Closed varunlenkala closed 6 years ago
That's because you are including parameters that would assign the profile to an empty server device bay, and your intent is to assign to a specific server hardware resource. Your call should have been:
$SPT = Get-HPOVServerProfileTemplate -Name "SY480Gen91" -ErrorAction Stop
Get-HPOVServer -Name "BC12000, bay 9" -ErrorAction Stop | New-HPOVServerProfile -Name ESX9 -Firmware:$false -Sht $SHT -ServerProfileTemplate $SPT | Wait-HPOVTaskComplete
Thanks Chris for quick response. There seems to be a problem with my ISE, it works fine in my regular console.
Closing this issue.
Please fill in as much information as possible to help resolve your issue.
Expected Behavior
Need to create server profiles from Server profile templates.
Actual Behavior
throwing following error, not sure what I missed.
Steps to reproduce
Version Information
HPOneview.300, HPOneview.310