HPE OneView
1753771 Members
4729 Online
108799 Solutions
New Discussion юеВ

unassign profile powershell

 
SOLVED
Go to solution
Synergize
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
ChrisLynch
HPE Pro
Solution

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

Synergize
Occasional Advisor

Re: unassign profile powershell

very helpful. tyvm