https://www.petervanderwoude.nl/post/set-the-allowed-management-points-via-a-configuration-item-in-configmgr-2012/
Set the allowed Management Points via a Configuration Item in ConfigMgr 2012