Citrix Optimizer Automation
Projects | | Links: PSGallery | Source | Change Log
It’s no secret that Citrix have a great optimization tool for your base images. You can find it here and there are also a bunch of good community driven templates available to add additional functionality to your optimizations.
But, what if you want to automate the creation of a template? This PowerShell module will allow you to do exactly that!
PowerShell module to automate the creation of Citrix Optimizer Templates using simple pre-build cmdlets such as:
- New-CitrixTemplate
- New-CitrixTemplateGroup
- New-CitrixTemplateService
- New-CitrixTemplateTask
- New-CitrixTemplateRegistry
- New-CitrixTemplateScript
The reason behind creating this module is the time is takes to build up the template files using the user interface. Often customers have various CSV files and JSON files with the settings you want applied to a master image, with this module you are able to parse those files and inject the settings automatically.
Installing the Module
PowerShell Support
Citrix Optimizer Automation supports Windows PowerShell 5.1 and above.
Install from the PowerShell Gallery
The Citrix Optimizer Automation module is published in the PowerShell Gallery
You can install the module by entering the below commands in an elevated PowerShell session:
Install-Module -Name CitrixOptimizerAutomation
Import-Module -Name CitrixOptimizerAutomation
Updating the Module
If you have installed a previous version of the module from the gallery, you can install the latest update with Update-Module
and the -Force
parameter:
Update-Module -Name CitrixOptimizerAutomation -Force
Documentation
Command | Description |
---|---|
New-CitrixTemplate | Creates a new Citrix Optimizer template |
New-CitrixTemplateGroup | Creates a new Group |
New-CitrixTemplateService | Creates a new Windows Service definition |
New-CitrixTemplateTask | Creates a new Windows Scheduled Task definition |
New-CitrixTemplateRegistry | Creates a new Windows Registry definition |
New-CitrixTemplateScript | Creates a new PowerShell Script definition |