Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 1.95 KB

New-CitrixTemplateGroup.MD

File metadata and controls

80 lines (56 loc) · 1.95 KB

New-CitrixTemplateGroup

Creates a new Group in the Citrix Optimizer template.

Syntax

New-CitrixTemplate
    [-Path] <String[]>
    [-GroupName] <String[]>
    [-GroupDescription] <String[]>
    [<CommonParameters>]

Description

This function will create a Group in the Citrix Optimizer template. First it will check if that group exists, if not it will add it.

Examples

Example 1

New-CitrixTemplateGroup -Path 'template.xml' -GroupName 'OS Optimizations' 

Creates a new Group called "OS Optimizations" in the template file.

Example 2

New-CitrixTemplateGroup -Path $Template.Path -GroupName 'System Optimizations' -GroupDescription 'This is the description for the group'

Creates a new Group called "System Optimizations" in the template file based on the result of a New-CitrixTemplate return object.

Example 3

$Group = New-CitrixTemplateGroup -Path $Template.Path -GroupName 'System Optimizations' -GroupDescription 'This is the description for the group'

Creates a new Group called "System Optimizations" in the template file based on the result of a New-CitrixTemplate return object and pipes this into the variable $Group.

Parameters

-Path

Specifies the Path and Name for the Citrix Optimizer Template

Description Option
Type String
Mandatory True
Default Value: None
Accept pipeline input: True
Accept wildcard characters: False

-GroupName

Specifies the Group Name to add

Description Option
Type String
Mandatory True
Default Value: None
Accept pipeline input: True
Accept wildcard characters: False

-GroupDescription

Specifies the Group Description

Description Option
Type String
Mandatory True
Default Value: None
Accept pipeline input: True
Accept wildcard characters: False