Script to turn off Windows update screen for en users

I know this can be done. Does someone know of a script to disable the windows update screen for windows 10 and 11? I want it to display updates are being managed by your organization IT department.

It’s group policy. You should be able to set the registry settings just the same if you don’t have a domain. won’t work on Home editions of course.