Posts Tagged ‘PoSH’

Set Citrix policies via PowerShell

Written by Ingmar Verheij on June 13th, 2012. Posted in XenApp (Presentation Server), XenDesktop

Since Citrix XenApp 6.0 and XenDesktop 5.0 policies are configurable via a new method. As a bonus Citrix made it possible to configure the policies via Group Policy Objects (GPO’s) in Active Directory.

This is especially useful if you want to set Citrix policies unattended, or automated. This way you can use it in a deployment or incorporate it in your own (provisioning) tool.

In this article I’ll explain how you can set Citrix XenApp 6.5 policies in a GPO via a PowerShell script from a remote machine. You can execute the commands from any domain joined machine, there’s no need to execute the script from a Citrix server or Active directory Domain Controller.

Configure WANem via PowerShell

Written by Ingmar Verheij on June 11th, 2012. Posted in PowerShell

If you want to simulate a WAN connection (lower bandwidth, add delay, jitter, etc.) then WANem is a solution that is (relatively) easy to use and free.

 

Configuring the WAN emulator is done via a webpage, but unfortunately there are no API’s exposed to automate the configuration.

Since I needed to automate the configuration of the WAN emulator I wrote a PowerShell script. You can find the PowerShell scrip below.

Donate