All about virtualization
  • vBooks
  • ESXTOP
    • ESXTOP vSphere 6
    • ESXTOP vSphere 5.5
  • vBlogDB
    • Open the vBlog Database
    • vBlog diagrams
  • vSphere 6
  • Homelab
  • VMworld 2017
    • VMworld 2016
    • VMworld 2015
    • VMworld 2014
  • TechFieldDay 13
    • TechFieldDay 11
  • Free tools
  • About
    • Privacy Policy

Code snippet – find/report all ballooning VMs

Andreas Lesslhumer 15. July 2012 0 PowerCli Snippets ballooning, powercli, report, script, VM

This script will help you to find all ballooning VMs: Just fill in the name of your vCenter Server in the first line: Connect-VIServer vCenter_Server $vms = Get-VM Get-Stat -Entity $vms -Realtime -Stat mem.vmmemctl.average -MaxSamples 1 -ErrorAction SilentlyContinue | where…
Read more

Tweet

Code snippet – Report with VM name, LUN name, vmdk file and path

Andreas Lesslhumer 15. July 2012 1 PowerCli Snippets cluster, datacenter, datastore, hard disc, name, path, powercli, report, script, VM, vmdk

This script will write the following information into a .csv file: .) name of the virtual machine (VM) .) datacenter name .) cluster name .) hard disc .) datastore name .) path and name of the .vmdk file Just fill…
Read more

Tweet

Code snippet – Report with VM Name, NIC Type and MAC adress

Andreas Lesslhumer 15. July 2012 0 PowerCli Snippets adress, MAC, powercli, report, script, type, virtual network adapter, VM

This script will report the following parameters: VM name, type of the virtual network adapter and MAC adress. Just fill in the name of your vCenter Server in the first line: Connect-VIServer vCenterServer $VMs = Get-VM * $Data = @()…
Read more

Tweet

Post navigation

← Previous 1 … 126 127 128

Join me on Twitter

Follow @@lessi001

The views expressed anywhere on this site are strictly mine and not the opinions and views of my employer.

Privacy Policy | About