Other Configuration Manager-related features and issues
Thank you for posting in Microsoft Q&A forum.
You may use CMPivot to query the value of WUServer in registry:
Registry('HKLM:\\SOFTWARE\\policies\\Microsoft\\windows\\windowsupdate') | where Property == 'WUServer'
If the value is WSUS that used with SCCM, Software Updates on Client is set to "Yes", the other value of WUServer means the Software Updates on Client is set to "No".
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.