Closed erikgraa closed 2 years ago
It looks like the Cmdlet that I wrote wasn't exported, and isn't available to use. In the meantime, you can use the following to perform that operation:
$BayID = 1
$Enclosure = Get-OVEnclosure -Name EnclosureName
$_request = @{
op = 'replace';
path = ('/applianceBays/{0}/power' -f $BayID);
value = 'on'
}
Send-OVRequest -Uri $Enclosure.uri -Method PATCH -Body $_PatchRequest -AddHeader @{'If-Match' = $Enclosure.eTag} | Wait-OVTaskComplete
Thank you @ChrisLynchHPE
You're welcome. Do know that you can only power on a device, which will be provided by Start-OVEnclosureAppliance
. You stop or power off a Composer or VM using Stop-OVAppliance.
I added this Cmdlet to the Release 5.50.2607.2724 and in PowerShell Gallery.
This issue will be addressed in other library versions after the US holiday break, in early Dec.
This is now addressed in the following releases:
Closing due to no further activity. If you wish, feel free to re-open to discuss further.
Is there a Cmdlet for starting the second Composer Node in a HPE Synergy after you have e.g. done a Factory Reset?
The Cmdlet
Enable-OVComposerHANode
exists but requires that the second Composer Node is already started.