Powershell Script to launch a Published Application from one or more XenApp Servers

by Stan Czerno June 11, 2014 09:06 CST
Two weeks ago I had a server in my lab that would not launch an application. The event log had event 10001 listed and it read "A usable server cannot be found on which to launch the application...".

So I checked out my homegrown monitoring service (which I will blog about later on) and everything was fine. The User Load was 0, the ICA port was listening and responding correctly, the XML service was running, etc. etc., but nothing would launch. This server has been running fine for more than two years. [More]

Tags: , ,

Catergories: Citrix | XenApp | Powershell

Application and User Usage Database and Reports for XenApp 6.5

by Stan Czerno March 5, 2014 10:37 CST
I like the concept of EdgeSight but it is a beast to maintain and I rarely use the Performance Metrics. What I use most often is Application Usage reports.

I loved using the old Resource Manager for creating Application and/or User Usage reports. I miss that basic function since I have been using XenApp 6.x for a few years now. EdgeSight was supposed to give me this but it does not since I am at the Enterprise Licensing tier for XenApp. [More]

Tags: , ,

Catergories: Citrix | XenApp | Powershell

Windows Backup Powershell Script

by Stan Czerno March 1, 2014 19:13 CST
So I was browsing for a good PowerShell script that uses the built-in Windows Server Backup features. Augagneur Alexandre's script, http://gallery.technet.microsoft.com/scriptcenter/WSB-Backup-network-email-9793e315, was a good start, so I took it a little further. [More]

Tags: ,

Catergories: Windows | Powershell | Windows Backup

PowerShell Script to Export XenServer VMs

by Stan Czerno February 13, 2013 15:16 CST
This Script runs from a Windows Machine with XenCenter installed. The script creates a list of all VMs in either a Pool or a stand-alone server, shuts down each VM, exports the VM, then starts the VM using XenCenter's XE command. [More]

Tags: , ,

Catergories: Citrix | XenServer | Powershell

Powershell Script to Shutdown and Export Hyper-V VMs, one at a time, for Windows Server 2012 - 2016

by Stan Czerno September 8, 2012 15:13 CST
Powershell Script to Shutdown and Export Hyper-V VMs, one at a time, for Windows Server 2012.

Now that I have rebuilt my cluster using Windows Server 2012, I had to change my Export script since the new Powershell Management for Hyper-V 2012 is different from the PowerShell Management Library for Hyper-V. [More]

Tags: , ,

Catergories: Windows | HyperV | Powershell

PowerShell Script to create a report of Citrix XenApp v6-v6.5 Published Applications in Excel

by Stan Czerno November 18, 2011 20:45 CST
This script uses PowerShell and the Citrix XenApp PowerShell SDK to create a report of Citrix Published Applications in Excel. [More]

Tags: ,

Catergories: Citrix | XenApp | Powershell

Powershell Script to Shutdown and Export Hyper-V VMs, one at a time, for Windows Server 2008 R2.

by Stan Czerno July 21, 2011 18:17 CST
The script requires the PowerShell Management Library for Hyper-V for it to work. The PowerShell Management Library for Hyper-V can be downloaded at http://pshyperv.codeplex.com/ [More]

Tags: , ,

Catergories: Windows | HyperV | Powershell

Powershell script to Live Migrate Hyper-V Virtual Machines back to it's Preferred Owner in a Hyper-V 2008 R2 Cluster.

by Stan Czerno July 21, 2011 18:15 CST
I schedule this script to run at Startup of the Hyper-V Host to check to see if VMs have been Live Migrated to another Host.

If the VM has this Host set as being the Preferred Owner, Live Migrate them back to this Node. [More]

Tags: , , , ,

Catergories: Windows | HyperV | Powershell