Skip to content

PowerShell module to allow you to generate templates for Citrix Optimizer based on pre-defined cmdlets.

License

Notifications You must be signed in to change notification settings

dbretty/CitrixOptimizerAutomation

Repository files navigation

Build status

Citrix Optimizer Automation

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 base template
New-CitrixTemplateGroup Creates a new Group in the Citrix Optimizer template
New-CitrixTemplateService Creates a new Windows Service definition in the Citrix Optimizer template
New-CitrixTemplateTask Creates a new Windows Scheduled Task definition in the Citrix Optimizer template
New-CitrixTemplateRegistry Creates a new Windows Registry definition in the Citrix Optimizer template
New-CitrixTemplateScript Creates a new PowerShell Script definition in the Citrix Optimizer template

Recommended Content

Citrix Optimizer Tool (Citrix docs) The official Citrix Optimizer tool.