Hi Team,
I have been working on script which applies a scrub (disk and bios both) policy on the existing blade and perform a disassociate service profile.
Work flow is as below:
1. Select the desired service profile
2. unbind it from an existing service profile template.
3. attach the scrub policy on the blade server.
4. perform a Disassociate service profile.
My script is working fine until step 3 but at the 4th step it is not working.
The command i am using to disassociate is "Get-UcsServiceProfile Sp_Name -LimitScope | Disassociate-UcsServiceProfile -Force"
This command runs without any issues/errors but when i go and check in UCSM the profile is still associated with a blade server, nothing happened on the service profile.
I am new to UCS power tools and would appreciate any help here. As i checked multiple links but couldn't find anything :)