Update-DeliveryGroup

Back to overview

NAME
Update-DeliveryGroup

SYNOPSIS
Substitutes machines in a desktop group

SYNTAX
Update-DeliveryGroup [-Name] <String> [-CatalogName] <String> [[-Count] <Int32>] [<CommonParameters>]


DESCRIPTION
The machines contained in the desktop group are removed and new machines are added from the specified catalog


PARAMETERS
-Name <String>
Name of an existing desktop group

Required?                    true
Position?                    1
Default value
Accept pipeline input?       false
Accept wildcard characters?  false

-CatalogName <String>
Name of the catalog containing new machines

Required?                    true
Position?                    2
Default value
Accept pipeline input?       false
Accept wildcard characters?  false

-Count <Int32>
Number of machines to add

Required?                    false
Position?                    3
Default value                0
Accept pipeline input?       false
Accept wildcard characters?  false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

-------------------------- EXAMPLE 1 --------------------------

C:\PS>The following command adds all machines from the given catalog to the specified desktop group


Update-DeliveryGroup -Name 'DG-SessionHost' -CatalogName 'MCS-SessionHost'





-------------------------- EXAMPLE 2 --------------------------

C:\PS>The following command adds two machines from the given catalog to the specified desktop group


Update-DeliveryGroup -Name 'DG-SessionHost' -CatalogName 'MCS-SessionHost' -Count 2






RELATED LINKS
New-MachineCatalog
Sync-MachineCatalog