As mentioned in the previous posting in item 1, there are other ways as well to remove the location association from an Agent/MS/Pool:
- The commands below just remove the location association from Agent/MS/Pool. The actions don’t delete the location itself:
- When we use –location parameter (Remove-SCOMLocation –Location), the location instance will be deleted and not exist anymore.
For example, I created three locations with the same displayname “Amsterdam”. After I executed the following command, the locations were removed permanently:
Get-SCOMLocation -DisplayName "Amsterdam" | Remove-SCOMLocation
You can also define geo locations with the same displayname multiple times, which can be distinguished by property “ID” or “Name”.
Thanks to the Operations Manager Product Team and especially Daniele Muscetta, since they provided us (Cameron Fuller and me) with this information. Thank you guys!