View if all servers are using the latest Disk Image MCS
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
Use the following powershell command to see if there are machines using a older version of de image:
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.
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