Creates a new Windows Registry definition in the Citrix Optimizer template.
New-CitrixTemplateRegistry
[-Path] <String[]>
[-GroupName] <String[]>
[-EntryName] <String[]>
[-EntryDescription] <String[]>
[-ItemName] <String[]>
[-ItemPath] <String[]>
[-ItemValue] <String[]>
[-ItemType] <String[]>
[-DeleteValue] <Switch>
[-DeleteKey] <Switch>
[<CommonParameters>]This function will create a Registry Definition in the Citrix Optimizer template.
New-CitrixTemplateRegistry -Path 'template.xml' -GroupName 'Group1' -EntryName 'Add Edge Update Registry Entry' -EntryDescription 'Disable Edge Updates via HKLM' -ItemName 'UpdatesEnabled' -ItemPath 'HKLM\Software\Microsoft\Edge' -ItemValue '0' -ItemType 'Dword'Adds an entry to disable the Edge Updates in the template file.
New-CitrixTemplateRegistry -Path $Template.Path -GroupName 'Group1' -EntryName 'Add Edge Update Registry Entry' -EntryDescription 'Disable Edge Updates via HKLM' -ItemName 'UpdatesEnabled' -ItemPath 'HKLM\Software\Microsoft\Edge' -ItemValue '0' -ItemType 'Dword'Adds an entry to disable the Edge Updates in the template file based on the return value in $Template.Path
New-CitrixTemplateRegistry -Path $Template.Path -GroupName $Group.Name -EntryName 'Add Edge Update Registry Entry' -EntryDescription 'Disable Edge Updates via HKLM' -ItemName 'UpdatesEnabled' -ItemPath 'HKLM\Software\Microsoft\Edge' -ItemValue '0' -ItemType 'Dword'Adds an entry to disable the Edge Updates in the template file based on the return value in $Template.Path and $Group.Name
New-CitrixTemplateRegistry -Path $Template.Path -GroupName 'System Optimizations' -EntryName 'Remove Edge Item 1' -EntryDescription 'Remove Edge Item 1' -ItemName 'Item1' -ItemPath 'HKLM\Software\Microsoft\Edge' -DeleteValueDeletes a registry value from the master image
New-CitrixTemplateRegistry -Path $Template.Path -GroupName 'System Optimizations' -EntryName 'Remove Edge Key 1' -EntryDescription 'Remove Edge Key 1' -ItemPath 'HKLM\Software\Microsoft\Edge1' -DeleteKeyDeletes a registry key from the master image
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 |
Specifies the Group to add the Scheduled Task to
| Description | Option |
|---|---|
| Type | String |
| Mandatory | True |
| Default Value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the Entry Name for Citrix Optimizer
| Description | Option |
|---|---|
| Type | String |
| Mandatory | True |
| Default Value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the Entry Description for Citrix Optimizer
| Description | Option |
|---|---|
| Type | String |
| Mandatory | True |
| Default Value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the Item Name for Citrix Optimizer
| Description | Option |
|---|---|
| Type | String |
| Mandatory | False |
| Default Value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the Item Path for Citrix Optimizer
| Description | Option |
|---|---|
| Type | String |
| Mandatory | True |
| Default Value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the Item Value for Citrix Optimizer
| Description | Option |
|---|---|
| Type | String |
| Mandatory | False |
| Default Value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the Item Type for Citrix Optimizer ("Dword","Binary","ExpandString","MultiString","String","Qword")
| Description | Option |
|---|---|
| Type | String |
| Mandatory | False |
| Default Value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |