HPE OneView
cancel
Showing results for 
Search instead for 
Did you mean: 

unassign profile powershell

 
SOLVED
Go to solution
Highlighted
Occasional Advisor

unassign profile powershell

what is the command to unassign a profile from a synergy module. Would remove-hpovserverprofile do the unassign or would that actually delete the profile?

2 REPLIES 2
Highlighted
HPE Pro

Re: unassign profile powershell

Please review the Verb Mapping online documentation to understand what PowerShell verbs align to which Actions within the UI are available.

That said, Remove-HPOVServeProfile will delete it, not unassign. What you want is New-HPOVServerProfileAssign, which there is a parameter called -Unassign that will essentially clear out the serverHardwareUri property of the specified server profile resource and then save it to the appliance.

 


I am an HPE employee

Accept or Kudo

Highlighted
Occasional Advisor
Solution

Re: unassign profile powershell

very helpful. tyvm