Archive for the ‘Scripts’ Category

Howdy all. I have finally got my act together and have moved the blog over to our domain hosting at http://vtsolutions.com.au. Please update any bookmarks or subscriptions you have, as over the next week or so I will be taking down this page.

Just a place holder for now, I will come back and update with some more info when I get a chance. (more…)

Nothing too exciting in this one, just had to do a quick comparison of user home folders against what was set in Active Directory as part of file server permission’s remediation task.
(more…)

Pretty simple one here, PowerShell wrapper to automate logging into Brocade Fabric switches and grabbing a full config backup. You’ll need to get a copy of Putty’s plink.exe and you also need a FTP/SFTP/SCP server. This version is setup for a FTP target. (more…)

Had a client who required in-guest iSCSI connections. After reviewing the physical NICs that were going to be available on each host, I created the following script to automate the creation of the virtual switch with associated uplinks and two portgroups. (more…)

Nearly every environment I work in has the annoying warnings on their domain controllers stating that the Netlogon.log is filling up and almost always with the NO_CLIENT_SITE warnings. It’s a simple fix, just add in all the relevant subnets into AD Sites and Services. One of those things that just should be done when new networks are brought online, but nearly always get’s left out. Well, below is a bit of PowerShell to parse the domain controller’s Netlogon.log and spit back a list of unique /24 subnets that are generating the warnings. Next step would be to identify which AD site they should belong to and add them in.
(more…)

I recently had to gather the VLAN ID information from a vCenter environment where some hosts had standard and distributed switching in use for their virtual machine networking. Unfortunately, the data for VLAN ID is located in different fields depending on the vSwitch type. So, here’s a simple script to gather both sets of into a CSV. (more…)