The Citrix Blog

Results for: XenDesktop 4 PowerShell SDK Primer - Part 7 - Adding Active Directory Users and Groups to a Desktop Group

XenDesktop 4 PowerShell SDK Primer – Part 9 – Restarting Virtual Desktops

The last task that we'll discuss in this blog series is how to automate the restarting (rebooting) of virtual desktops within XenDesktop. I've provided two different scripts in this article - one for restarting a single virtual desktop, the second for restarting multiple virtual desktops at the same time. As you'll find in the scripts, they look almost identical, making this one of ...

Read More

XenDesktop 4 PowerShell SDK Primer – Part 8 – Disconnecting and Stopping Virtual Desktop Sessions

So far in the blog series I've mainly focused on how to automate configurations for XenDesktop desktop groups. For example, how to create new desktop groups, how to add new virtual desktops to a desktop group, and how to update the idle pool settings for a desktop group. But what does the XenDesktop PowerShell SDK let us do with the virtual desktop sessions ...

Read More

XenDesktop 4 PowerShell SDK Primer – Part 7 – Adding Active Directory Users and Groups to a Desktop Group

A common configuration change that you might need to make on a XenDesktop farm is to change which users/groups are assigned to which desktop groups. For example, a new employee is hired, they need a virtual desktop, so you need to add their Active Directory account to an existing desktop group. Alternatively, you can add their Active Directory account to an Active Directory ...

Read More

XenDesktop 4 PowerShell SDK Primer – Part 6 – Adding Virtual Desktops to a Desktop Group

As you manage your XenDesktop farm, you may notice that you have spikes in virtual desktop use every so often. In some cases the spikes could exceed the supply and some users could be rejected from receiving a virtual desktop. To deal with the spikes, you want your XenDesktop environment to be elastic - that is, as the threshold of what can be ...

Read More

XenDesktop 4 PowerShell SDK Primer – Part 5 – Updating the Idle Pool Settings of a Desktop Group

The idle pool settings of a desktop group define how many virtual desktops should be kept in an idle state at any given time. When a user launches a virtual desktop, they are given one of the idle machines and another machine is started on the backend to attempt to keep the number of idle machines the same. Keeping machines in an idle ...

Read More

XenDesktop 4 PowerShell SDK Primer – Part 4 – Enabling and Disabling a Desktop Group

Maintenance is always a big part of every XenDesktop environment. There may be times throughout the course of the year where you need to "take-down" a desktop group in order to prevent users from connecting to certain virtual desktops. You then perform maintenance on the virtual desktops and bring the desktop group back online to allow access again. All of this can ...

Read More

XenDesktop 4 PowerShell SDK Primer – Part 3 – Creating a New Desktop Group

When you configure a XenDesktop environment, the primary configuration you are going to make is to create new desktop groups. Desktop Groups define the virtual desktops that you want to make available to users, who can access them, how they are assigned to users, and how many are kept active at any given time. Whenever I'm working within the Delivery Services Console, I ...

Read More