This is the built-in help made by Microsoft for the command 'Add-WsusComputer', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Adds a specified client computer, that is already registered to a WSUS server, to a specified target group.
Add-WsusComputer -Computer <WsusComputer> -TargetGroupName <String> [-Confirm] [-WhatIf] [<CommonParameters>]
The Add-WsusComputer cmdlet adds the specified computer to the specified target group on the local server or a specified server. You can invoke this command by Piping in the
results of the Get-WsusComputer cmdlet. Calling the Get-WsusComputer cmdlet and piping the results into this cmdlet enables you to leverage the filtering capabilities of the
Get-WsusComputer cmdlet in moving the desired computers to the specified target group. The server used in the Get-WsusComputer cmdlet will also be used in this cmdlet.
Online Version: http://go.microsoft.com/fwlink/p/?linkid=287824
PS C:\> Get-WsusServer contoso | Get-WsusComputer -NameIncludes winvm | Add-WsusComputer -TargetGroupName "Windows Virtual Machines"
This example adds all computers with winvm in the name to the target group named Windows Virtual Machines on the server named contoso.