The Citrix Blog

Results for: Getting a Farm Inventory With XenApp 6 PowerShell Scripting

Tech Talk Q&A – Essentials for using Windows PowerShell with XenApp and XenDesktop – XD SDK Questions Answered

Thank you to all those that attended the Essentials for using Windows PowerShell with XenApp and XenDesktop Tech Talk on August 24, 2010 - we had a fantastic turnout! For those of you that missed it, both the recording and presentation have been posted.Tech Talk Recording Tech Talk PresentationMike Bogobowicz and I co-presented this session where I led the XenDesktop PowerShell SDK side, ...

Read More

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

Checking Server Availability – XenApp 6 PowerShell SDK

So far this week, we've taken a look at creating an inventory of a XenApp 6 farm and explored sending email reports of what we've gathered. We also took a look at checking out application consistency and publishing settings, one of the most common issues we find at customer sites. Now we're going to jump into basic networking and logging with PowerShell, and how you ...

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

Check Your Applications – XenApp 6 PowerShell SDK Script

In our first post, we started off with a nice and easy farm inventory script and had it send us an email report. Today, we'll take a look at one of the most common issues we find when looking at customers' environments: application inconsistency and forgotten applications. Tomorrow, we'll start getting into some more advanced coding and look at ensuring server uptime using a scheduled ...

Read More

Upcoming Tech Talk – Essentials for using Windows PowerShell with XenApp and XenDesktop

Update We have delivered the Tech Talk on Essentials for using Windows PowerShell with XenApp and XenDesktop and both the recording and presentation are now available for viewing. We also have a separate blog for the Q&A from the session.Tech Talk Recording Tech Talk Presentation XenDesktop SDK Q&A Blog PostSession Description Learn how to simplify your XenApp and XenDesktop administration using simple but effective PowerShell scripts. ...

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

Getting a Farm Inventory With XenApp 6 PowerShell Scripting

About the Author: Michael Bogobowicz is a Principal Consultant with the World-Wide Consulting Solutions team, and has been engaged on Citrix XenApp and XenDesktop projects around the world since 2006.XenApp 6 introduces some new and versatile PowerShell scripting - for those of you used to MFCOM scripting, you'll find this to be a very welcome improvement. In this post, we'll set up the XenApp 6 ...

Read More