https://www.petervanderwoude.nl/post/getting-the-client-upgrade-settings-of-configmgr-2012-with-powershell/
Getting the Client Upgrade Settings of ConfigMgr 2012 with PowerShell