View if all servers are using the latest Disk Image MCS

Problem:

When updating a machine Catalog in XenDesktop with a new Disk Image (MCS) and you reboot the machines you would like to know if all the machines use the latest dick images.

This only works when using Machine Creation Service

Solution:

Use the following powershell command to see if there are machines using a older version of de image:

Add-PsSnapin Citrix.*
Get-BrokerMachine -ImageOutOfDate 1

Now you see all the machines that have a Out Of Date image. You can check the Machine name to see which machine it is and ImageOUtOfDate if it is True than it needs to update.

ImageOutOfDate

When you only need to see the MachineNames then use the following command:

Get-BrokerMachine -ImageOutOfDate 1 | select machineName

After a reboot you can use the following powershell command:

Get-BrokerMachine -MachineName “domain\MachineName” -ImageOutOfDate 1

Links:

http://support.citrix.com/proddocs/topic/citrix-broker-admin-v2-xd7/get-brokermachine-xd7.html

Posted in: Citrix, Machine Creation Services, XenDesktop

banner