Scripting

Subscribe via RSS →
2 min read

Quick Powershell tip - Remote Windows Management

Something that I do every now and again (almost every day - many times per day) is to connect to the Event Viewer / Computer Management / Services console of a Remote Windows machine for …

  • Microsoft
  • Tools
  • Scripting
  • Powershell
6 min read

vCenter PowerCLI Migration Script

As I promised in a previous post I wanted to migrate from a vCenter to whole new machine Process was: Export folders Export VM locations in Folders Export Permissions Export Custom Attributes Create …

  • Virtualization
  • Scripting
  • Powershell
  • Administration
2 min read

Testing Network Failover with PowerCLI

Two weeks ago I wrote an article about How To Bring Down A Single NIC In ESX?. In that post you could see that in order to test this you had to go into the console of the ESX and run the commands on …

  • Tools
  • vSphere
  • Scripting
  • Administration
1 min read

ONYX - Go forth and PowerCLI'ze!

I have been waiting for this ever since it was announced at VMWorld 2009. Carter Shanklin just announced tonight! Been waiting to try “Project Onyx” the PowerCLI script generator for …

  • Tools
  • vSphere
  • Scripting
  • Administration
1 min read

So Easy - PowerCLI Storage VMotion

I had to to migrate 43 Virtual Machines today, from one Datastore to another. The environment is still not upgraded to vSphere yet. Options I had: sVmotion Plug-in Command line PowerCLI I found the …

  • VMotion
  • Scripting
  • Powershell
  • Administration
5 min read

vMotion issues (78%)

In the current series of posts I am writing on running a vSphere lab on ESX 1, 2 and 3, I wanted to set up an NFS shared storage between my 2 ESX hosts to test vMotion. I ran into an interesting issue …

  • VMotion
  • Scripting
  • Miscellaneous
  • VMware
1 min read

Powershell Scripting Games - Day 8

Here is my solution for Event 8. Here we had to go through the hard drive and report which folder was using up all the space on the drive. #First we set the path $path = Read-Host "Which folder …

  • Scripting Games
  • Scripting
  • Powershell
  • Miscellaneous
1 min read

Powershell Scripting Games - Day 7

Here is my solution for the Beginner Event 7 Here we had to create a logging solution for script # ------------------------------------------------------------------------ # NAME: …

  • Scripting Games
  • Scripting
  • Powershell
  • Miscellaneous
1 min read

Powershell Scripting Games - Day 6

This is my solution for Beginner Event 6 Here we got a script that was not working and had to debug it. #========================================================================== # NAME: Beg_6.ps1 # …

  • Scripting Games
  • Scripting
  • Powershell
  • Miscellaneous
2 min read

Powershell Scripting games - Day 5

Registry keys. Sorry for the silly humor - don’t know how and why Tonto got in there. Thanks to Rob Rohr - for helping me out here. # first we define some variables $ourpath = …

  • Scripting Games
  • Scripting
  • Powershell
  • Miscellaneous