|
| 1 | +# Get-CitrixTemplateEntry |
| 2 | + |
| 3 | +Gets Entries from the Citrix Optimizer template. |
| 4 | + |
| 5 | +## Syntax |
| 6 | + |
| 7 | +```PowerShell |
| 8 | +Get-CitrixTemplateEntry |
| 9 | + [-Path] <String[]> |
| 10 | + [-EntryName] <String[]> |
| 11 | + [-Registry] <Switch[]> |
| 12 | + [-ScheduledTask] <Switch[]> |
| 13 | + [-Service] <Switch[]> |
| 14 | + [-PowerShell] <Switch[]> |
| 15 | + [<CommonParameters>] |
| 16 | +``` |
| 17 | +## Description |
| 18 | + |
| 19 | +This function will get the Entries from a Citrix Optimizer Template passed in |
| 20 | + |
| 21 | +## Examples |
| 22 | + |
| 23 | +### Example 1 |
| 24 | + |
| 25 | +```PowerShell |
| 26 | +Get-CitrixTemplateEntry -Path 'template.xml' -EntryName "Optimize Internet Explorer" |
| 27 | +``` |
| 28 | + |
| 29 | +Gets the entry details for the entry "Optimize Internet Explorer". |
| 30 | + |
| 31 | +### Example 2 |
| 32 | + |
| 33 | +```PowerShell |
| 34 | +Get-CitrixTemplateEntry -Path 'template.xml' -Registry |
| 35 | +``` |
| 36 | + |
| 37 | +Gets all the Registry Entries from the Template File. |
| 38 | + |
| 39 | + ### Example 3 |
| 40 | + |
| 41 | +```PowerShell |
| 42 | +$Entries = Get-CitrixTemplateEntry -Path 'template.xml' -Service |
| 43 | +``` |
| 44 | + |
| 45 | +Gets all the Service Entries from the template and assigns the result to the $Entries variable. |
| 46 | + |
| 47 | +## Parameters |
| 48 | + |
| 49 | +### -Path |
| 50 | + |
| 51 | +Specifies the Path and Name for the Citrix Optimizer Template |
| 52 | + |
| 53 | +| Description | Option | |
| 54 | +|:---|:---| |
| 55 | +| Type | String | |
| 56 | +| Mandatory | True | |
| 57 | +| Default Value: | None | |
| 58 | +| Accept pipeline input: | True | |
| 59 | +| Accept wildcard characters: | False | |
| 60 | + |
| 61 | +### -EntryName |
| 62 | + |
| 63 | +Specifies the Entry Name |
| 64 | + |
| 65 | +| Description | Option | |
| 66 | +|:---|:---| |
| 67 | +| Type | String | |
| 68 | +| Mandatory | False | |
| 69 | +| Default Value: | None | |
| 70 | +| Accept pipeline input: | True | |
| 71 | +| Accept wildcard characters: | False | |
| 72 | + |
| 73 | +### -Registry |
| 74 | + |
| 75 | +Switch for Registry |
| 76 | + |
| 77 | +| Description | Option | |
| 78 | +|:---|:---| |
| 79 | +| Type | Switch | |
| 80 | +| Mandatory | False | |
| 81 | +| Default Value: | None | |
| 82 | +| Accept pipeline input: | True | |
| 83 | +| Accept wildcard characters: | False | |
| 84 | + |
| 85 | +### -ScheduledTask |
| 86 | + |
| 87 | +Switch for ScheduledTask |
| 88 | + |
| 89 | +| Description | Option | |
| 90 | +|:---|:---| |
| 91 | +| Type | Switch | |
| 92 | +| Mandatory | False | |
| 93 | +| Default Value: | None | |
| 94 | +| Accept pipeline input: | True | |
| 95 | +| Accept wildcard characters: | False | |
| 96 | + |
| 97 | +### -Service |
| 98 | + |
| 99 | +Switch for Service |
| 100 | + |
| 101 | +| Description | Option | |
| 102 | +|:---|:---| |
| 103 | +| Type | Switch | |
| 104 | +| Mandatory | False | |
| 105 | +| Default Value: | None | |
| 106 | +| Accept pipeline input: | True | |
| 107 | +| Accept wildcard characters: | False | |
| 108 | + |
| 109 | +### -PowerShell |
| 110 | + |
| 111 | +Switch for PowerShell |
| 112 | + |
| 113 | +| Description | Option | |
| 114 | +|:---|:---| |
| 115 | +| Type | Switch | |
| 116 | +| Mandatory | False | |
| 117 | +| Default Value: | None | |
| 118 | +| Accept pipeline input: | True | |
| 119 | +| Accept wildcard characters: | False | |
0 commit comments