Month: May 2014

Supply , installation and support

Powershell export virtual machines IP

This script is pretty handy, it will connect to the Virtual Center you specify in Powershell.   # you will need to adjust the viserver name connect-viserver mecvm01.eu.kellogg.com $reportedvms=New-Object System.Collections.ArrayList $vms=get-view -viewtype virtualmachine |Sort-Object -Property { $_.Config.Hardware.Device | where {$_ -is [VMware.Vim.VirtualEthernetCard]} | Measure-Object | select -ExpandProperty Count} -Descending foreach($vm in $vms){ $reportedvm = New-Object…
Read more