Subcommand: set-ImageGroup

Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

changes the attributes of an image group.

Syntax

wdsutil [Options] /Set-ImageGroumediaGroup:<Image group name> [/Server:<Server name>] [/Name:<New image group name>] [/Security:<SDDL>]

Parameters

Parameter Description
mediaGroup: Specifies the name of the image group.
[/Server:] Specifies the name of the server. This can be either the NetBIOS name or the fully qualified domain name (FQDN). If not specified, the local server will be used.
[/Name:] Specifies the new name of the image group.
[/Security:] Specifies the new Security Descriptor of the image group, in security descriptor definition language (SDDL) format.

Examples

To set the name for an image group, type:

wdsutil /Set-ImageGroumediaGroup:ImageGroup1 /Name:"New Image Group Name"

To specify various settings for an image group, type:

wdsutil /verbose /Set-ImageGroumediaGroup:ImageGroup1 /Server:MyWDSServer /Name:"New Image Group Name" 
/Security:"O:BAG:S-1-5-21-2176941838-3499754553-4071289181-513 D:AI(A;ID;FA;;;SY)(A;OICIIOID;GA;;;SY)(A;ID;FA;;;BA)(A;OICIIOID;GA;;;BA) (A;ID;0x1200a9;;;AU)(A;OICIIOID;GXGR;;;AU)"

additional references

Command-Line Syntax Key Using the add-ImageGroup Command Using the get-AllImageGroups Command Using the get-ImageGroup Command Using the remove-ImageGroup Command