DSCResources/DSC_UpdateServicesComputerTargetGroup/en-US/about_UpdateServicesComputerTargetGroup.help.txt
|
.NAME
UpdateServicesComputerTargetGroup .DESCRIPTION This resource is used to configure the Update Services Computer Target Group. .PARAMETER Ensure Write - String Allowed values: Present, Absent An enumerated value that describes if the WSUS Computer Target Group is configured. Default value is 'Present'. .PARAMETER Name Key - String Name of the Computer Target Group. .PARAMETER Path Key - String Path to the Computer Target Group. .PARAMETER Id Read - String ID / GUID of the Computer Target Group. .EXAMPLE 1 Create WSUS Computer Target Groups. This configuration will create a WSUS Computer Target Group named 'Web' in the 'All Computers/Servers' path using the UpdateServicesDsc module. Configuration UpdateServicesComputerTargetGroup_AddComputerTargetGroup_Config { param () Import-DscResource -ModuleName UpdateServicesDsc node localhost { UpdateServicesComputerTargetGroup 'ComputerTargetGroup_Servers' { Name = 'Servers' Path = 'All Computers' Ensure = 'Present' } UpdateServicesComputerTargetGroup 'ComputerTargetGroup_Web' { Name = 'Web' Path = 'All Computers/Servers' Ensure = 'Present' DependsOn = '[UpdateServicesComputerTargetGroup]ComputerTargetGroup_Servers' } } } .EXAMPLE 2 Delete a WSUS Computer Target Group. This configuration will delete a WSUS Computer Target Group named 'Web' from the 'All Computers/Servers' path using the UpdateServicesDsc module. Configuration UpdateServicesComputerTargetGroup_DeleteComputerTargetGroup_Config { param () Import-DscResource -ModuleName UpdateServicesDsc node localhost { UpdateServicesComputerTargetGroup 'ComputerTargetGroup_Web' { Name = 'Web' Path = 'All Computers/Servers' Ensure = 'Absent' } } } |