v12n.io
  • Home
  • About
  • AutoUG
  • Packer

Scripts

A collection of 4 posts
ESX

PowerCLI: Adding New PortGroups

I'm sure that someone somewhere has written a script exactly like this in the past but I wanted to write my own for a number of reasons. While I'll probably never be a PowerCLI hero, it really doesn't hurt to keep in practice and hone your skills. Let's start with
Jan 6, 2010 2 min read
Scripts

List VMs in PortGroups

While documenting the VI that I'm working on at present, I had cause to provide a list of which VMs were in which PortGroups. Now I have done this before but it was hardly pretty when I cut and pasted the script into a document or email so I've been
Apr 28, 2009 1 min read
PS1

Which VMs are in which Port Groups

This took me a little while to get sorted as I had a gap in my PowerShell knowledge around the handling and formating of nested objects. A bit of exploration with get-member and I came up witha working script. It's based on a post [http://www.peetersonline.nl/index.php/
Feb 24, 2009 1 min read
Scripts

Remote Shutdown with PowerShell

Here's the scenario: You've just hit shut down in your remote desktop session. You're logged off Windows Server 2003 and your RDP session is closed. You wait a while and try to login again. Surely the server must have rebooted by now. But try as you might, you cannot get
Jan 13, 2009 1 min read
Page 1 of 1
v12n.io © 2023
Powered by Ghost