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...

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 →

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 – http://vwiki.co.uk/SNMP_and_PowerShell.  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 →