A Typical Windows Server Update Services Blog.
If you are wondering how to manage Automatic Updates Client (AU Client) like;
or more, using simple Scripts, then you MUST check this article By The Scripting Guys on http://www.microsoft.com/technet/community/columns/scripts/sg0705.mspx
For more information, see the Windows Update Agent API that enable system administrators and programmers to access Windows Update and Windows Server Update Services (WSUS).