PowerCLI

Subscribe via RSS →
2 min read

Creating and Storing PowerShell Credentials

I actually do not understand why I have not put this in a blog post before, but it is about time - because I used it again today. Sometime you need to store a credential for a number of purposes, be …

  • Management
  • Scripting
  • Powershell
  • Administration
3 min read

Quick and Dirty PowerCLI to Repair a Disk Space Problem

I ran into a case of a datastore that ran out disk space (why that happened is a whole different story – don’t go there… really…) but because of a whole strange chain of event this …

  • Scripting
  • Powershell
  • VMware
  • Troubleshooting
2 min read

Open-SDK–Opening the vSphere Management SDK

When writing scripts (I am a fan of PowerCLI of course) there is many a time when I need to get something out of the vSphere SDK so I can dig in and get the details that I am looking for. Of course …

  • vSphere
  • Scripting
  • Powershell
  • VMware
2 min read

Set-UpdateToolsPolicy–For your VM’s

In continuation to William Lam’s post on how you can Automating VMware Tools Upgrade Policy and thanks to a comment left on the post – I wanted to perform the same functionality in PowerCLI. I present …

  • Management
  • Scripting
  • VMware
  • PowerCLI
2 min read

How to Set CDP on a vSwitch–the PowerCLI Way

We all know that you get CDP information in a number of ways (also PowerCLI), KB 1007069 provides a number of ways to do it. But how would you go about setting CDP on the vSwitch? That can be done on …

  • Management
  • ESXi
  • Scripting
  • esxcli
2 min read

VMjuggler–the PowerCLI version

I was tasked with testing the throughput of the vMotion network between two hosts - to see how much of the throughput was / could be used. Now I remembered that there was an application that someone …

  • VMotion
  • Scripting
  • Powershell
  • Administration
3 min read

Set-VirtualSwitch and a Misunderstanding

I was doing some installations yesterday – and I wanted to add a second NIC to a vSwitch on a set of newly installed servers. Of course there were 10 of them, and I did not want to do this manually. …

  • Management
  • vSphere
  • Administration
  • VMware
2 min read

Many ways to skin a cat (or write a script)

I wanted to share with you another small example of how there are many ways to do things in PowerCLI. I wrote a post a while back about How to Speed Up Your PowerCLI Queries and there I came to the …

  • vSphere
  • Scripting
  • Powershell
  • VMware
3 min read

netstat for ESXi

The title of the post is actually misleading - on purpose - because there is no netstat for ESXi. The reason that I bring this up today is because of a Twitter conversation from today regarding SSH …

  • ESXi
  • Scripting
  • esxcli
  • Administration
1 min read

How many vMotions?? - The PowerCLI Way

As an addition to Luc Deken’s and Jonathan Medd’s great VIProperty Module, I wanted to add one property that I found useful. Ever wanted to know how many vMotions have been made in your …

  • Scripting
  • Powershell
  • PowerCLI