This is a basic commandlet that returns Management Group global settings.  You can use it’s companion, set-DefaultSetting, to configure Management Group global settings.

Return all Management Group global settings

get-DefaultSetting

Return Auto-Approve New Manually Installed Agents setting

get-defaultsetting | where {$_.Name -eq "ManagementServer\AutoApproveManuallyInstalledAgents"} | select value

main menu