The greatest challenge to any thinker is stating the problem in a way that will allow a solution

Bertrand Russell

Welcome to vBlog, a personal record of my techy tinkerings and particular ponderings.

I tend to focus on VMware virtualisation, and the interaction/automation of it using PowerCLI (VMware's PowerShell Snapin), but anything that I happen to stumble across that seems like it might be of use at a later date, may well get recorded here.

I also maintain vWiki, which was a predecessor to this blog. Wiki's are great for quickly recording snippets of info, but tend not to look that great; Blog's are better looking things, but seem to require more effort so that the posts/articles are accessible in their own right. As a result I tend to update both interchangeably as available time, and depth of thought, permit.

If you happen to find anything of use, or in need of correction please leave a comment. Knowing that my ramblings are of some use is a great reward; and similarly I'd hate to waste anybody's time by feeding them duff info.

See these pages for me info about me, and my vBlog, and below for my recent posts...

17 Sep 2013


1 comment

Trying to compare the members of Windows domain Security or Distribution groups cans be a bit of a pain, especially when you’ve got nested groups. To make life a bit easier I wrote a quick script that will go through the members of the groups you want, including unlimited sub-groups (see note below). The script creates a nice grid output table, which you can sort/filter etc. Continue reading →

The logs that the Windows DHCP Server creates for client IP requests are only retained for a week. Which is a bit of a problem if you’re trying to investigate some activity on the network that occurred over 7 days ago. You can retain the logs for longer but you need to archive them off yourself.

The script below archives all available logs to a place of your choosing, and can optionally archive IP v6 logs as well. Continue reading →

If your working in an environment where your users are in the same domain as your Microsoft Exchange environment, then Auto Discovery should take care of the configuration of your Outlook email clients.  If you need to use Outlook Anywhere so that your Outlook clients can connect as if they were on a foreign or untrusted network, it can be a bit of a pain to configure.  This would be fine if Autodiscover could take the strain. but if your local users are not in the same domain as Exchange, then this may not work. Continue reading →

28 Jun 2013



It is, from time to time, useful to be able to see what is being printed via your print server.  Be it to identify busy printers, heavy users, or in order to keep an eye on what kind of documents are being printed.

This is relatively easy to achieve, but you do need to enable the appropriate logging on your server, as the info isn’t recorded by default.  To display the information in a easy to digest format, requires a few lines of PowerShell as well. Continue reading →

This script utilises a free 3rd party .NET library in order to be able to run SNMP queries from within PowerShell.  I created it in order to be able to keep track of the creation and usage of DHCP scopes during a migration project, and meant that I could instantly find out how short or not we were of available IP addresses.  Longer term you’d obviously want to set-up proper monitoring.

For more info on setting up the SNMP .NET library see my vWiki page –  Its quite simple.  You have to download the binary package, extract and find the SharpSnmpLib.dll file, then load that into your PowerShell session and hey presto – you have SNMP functionality in PowerShell! Continue reading →

When trying to connect to a printer share you get the following error…

Operation could not be completed (error 0x00000709). Double check the printer name and make sure that the printer is connected to the network.

Error message when trying to add network printer share

Operation could not be completed (error 0x00000709). Double check the printer name and make sure that the printer is connected to the network. Continue reading →

This post covers how to redirect a users login to a different profile to that which was originally defined by the Operating System.

If a user has been logging in locally to  machine for a while, and you now want to add the machine to the domain, or if you need to move a machine from one domain to another; you may have the need to effectively give the user a new account, whilst maintaining the original desktop that they are used to. Continue reading →

This article covers how to keep the same desktop profile, the look and feel, when a user logs in, when changing the user’s login name.  This would commonly occur when migrating machines (workstations, desktops, laptops) between domains, or when moving a standalone machine into a new domain.

To be clear, what we’re actually talking about is retaining a profile when the user’s underlying security ID (SID), needs to change. If a user’s login name is changing, but they’re staying in the same domain, you can just rename the login name, as the actual user account doesn’t change, the impact is purely the cosmetic login name change, everything else stays the same. Continue reading →

Or more specifically, how does server or desktop computer virtualisation work?

The purpose of virtualisation is to enable to be able to run more things on less hardware.  To allow you to run numerous virtual instances of a machine on a single computer.  But how do you do that? Continue reading →

Or in the US – virtualization.

Virtualisation enables you to reduce the number of computers and other equipment that you might have, whilst still getting done what you need to.

There are many different types of virtualisation, but desktop computer virtualisation and server virtualisation are the most common. They work by enabling a single computer to do the job of many computers. The single computer will have to work harder. But modern computer hardware has been developed over the decades to be more and more powerful, and so is up to the job. Continue reading →