POSH-HPEOneView icon indicating copy to clipboard operation
POSH-HPEOneView copied to clipboard

New-OVServerProfileConnection with Network "Unassigned" throws an error

Open olant opened this issue 2 years ago • 2 comments

The connection is created, but an error is thrown before. Tried in HPEOneView.660 Version 6.60.3332.3428

New-OVServerProfileConnection -ConnectionID 1  -Network Unassigned -ConnectionType Ethernet -RequestedBW 0

The variable cannot be validated because the value  is not a valid value for the ApplianceConnection variable.
At C:\Program Files\WindowsPowerShell\Modules\HPEOneView.660\6.60.3332.3428\HPEOneView.660.psm1:114268 char:9
+         $ApplianceConnection = $ConnectedSessions | ? Name -eq $Netwo ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : MetadataError: (:) [], ValidationMetadataException
    + FullyQualifiedErrorId : ValidateSetFailure



id                  : 1
functionType        : Ethernet
name                :
portId              : Auto
networkUri          :
requestedMbps       : 0
boot                :
macType             : Virtual
mac                 :
requestedVFs        : 0
lagName             :
ApplianceConnection 

olant avatar Nov 29 '22 13:11 olant