/remove-ImageGroup

 

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2012, Windows 8

Removes an image group from a server.

Syntax

WDSUTIL [Options] /Remove-ImageGroup /ImageGroup:<Image group name> [/Server:<Server name>]

Parameters

Parameter

Description

/ImageGroup:<Image group name>

Specifies the name of the image group to be removed

[/Server:<Server name>]

Specifies the name of the server. This can be either the NetBIOS name or the fully qualified domain name (FQDN). If no server name is specified, the local server will be used.

Examples

To remove the image group, type one of the following:

WDSUTIL /Remove-ImageGroup /ImageGroup:ImageGroup1
WDSUTIL /Verbose /Remove-ImageGroup /ImageGroup:"My Image Group" /Server:MyWDSServer 

Additional references

Command-Line Syntax Key

-add-ImageGroup

-get-AllImageGroups

-get-ImageGroup

-set-ImageGroup