Quantcast
Channel: Virtual Drive » Powershell
Browsing all 7 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

PowerCLI oneliner to generate version, build and bios details

Here’s a quick oneliner to generate a nice report about the version, build and bios details on each host. PS: there are no spaces or new lines in the code. Enjoy!

View Article



Image may be NSFW.
Clik here to view.

Test existence of a variable in Powershell

Hmmm. Today I was looking up for how to test the existence of a variable a quick google search turned up a solution on stackoverflow. Here’s the gist of is, you can use the ‘variable PsProvider’ to...

View Article

Image may be NSFW.
Clik here to view.

Check VMHost VAAI Status

I needed a quick way to generate a report about VAAI status for all hosts in the vCenter Server. Hence wrote a PowerCLI oneliner to get the job done: In case you are not aware of what VAAI is read …...

View Article

Image may be NSFW.
Clik here to view.

vSphere Datastore Report

I needed to generate a Datastore report. All the information I was interested in was available in via the Get-Datastore cmdlet, however it was nested deep. Hence churned up a quicky PowerCLI oneliner:...

View Article

Image may be NSFW.
Clik here to view.

LUN Runtime Name

Most vSphere Administrators need to inspect the LUN runtime names discovered by the ESXi hosts. What usually gets overlooked is that runtimes name across different hosts could be different. Hence I...

View Article


Image may be NSFW.
Clik here to view.

PowerCLI oneliner to find all VMs which do not have a snapshot

View Article

Image may be NSFW.
Clik here to view.

Find aggregate allocated VM CPU and Memory per host basis

Here’s a quick and dirty one-liner to find the total allocated CPU & Memory per ESXi host basis. This is useful when you want to get a quickly get your over-commitment ratios.

View Article
Browsing all 7 articles
Browse latest View live




Latest Images