This script has been written to optimize a scheduled reboot on all VMware VDI desktops. In a VDI environment, you have to keep in mind two important things : ESX hosts SAN infrastructure If you plan a reboot on all
This script connect to your VI Server, then retrieve all the virtual machine names and get the VMware tools status and version. Script: Connect-VIServer -Server VIServerName get-vm | % { get-view $_.ID } | select Name, @{ Name=”hostName”; Expression={$_.guest.hostName}}, @{
This script lists the following informations : list all the VDI workstations from your VMware connexion servers that host the ldap database DC=vdi,DC=vmware,DC=int get the username assigned to the VDI check if the VDI is reachable (ping) and then get