Author: ryanm

Convert XML and XSL to HTML

Just a quickie. I have a script that outputs an XML file and I use an XSL file to display it but Management wanted HTML files, the thought of having to re-code the output was disheartening to say the least. I then came across “msxsl.exe” it’s a Microsoft tool that takes a XML file and …
Keep Reading…

Changing TFS 2010 $(sourcedir)

Seemingly this can be set by editing the TfsBuildServer.exe.config on the build agent machine and changing the value of the following Key: <add key=”SourcesSubdirectory” value=”Sources” /> On a 2010 build agent this isn’t possible

TFS queue build from powershell

I was doing some testing on TFS and got fed up queuing new builds via right-click -> queue new build -> ok. So here is a powershell script that can be used to kick off a build. I’ve included some extra assemblies that don’t need to be used as I have other functions that do …
Keep Reading…

Flashing eeprom during imaging via PXE

I had a requirement to flash the eeprom on a FTDI chip while dropping a clonezilla image onto the system which is done via a PXE server The 1st thing we need to do is get ftdi_eeprom tools on the clonezilla image, we do this by setting up an ubuntu system (I used ubuntu 12.04) …
Keep Reading…

Get Numeric Values from an Enum in powershell

I needed to get the values for a enum in order to generate the correct flags for a function call here’s how to do it. [Enum]::GetValues(<enumType>) will return a list of all the values <enumType>::<value>.value__ will return the numeric value enum

Puppeteering with Puppet

So I’ve been a very naughty sysadmin recently, one of the things I intended to do early on in my new employment was setup some form of System Management as we have several Linux hosts. However truth be told I have never had a System Management system for Linux hosts (due to a lack of time to …
Keep Reading…

SCCM CDP to WMI version 0.0.0.3 out

Sorry for the lack of progress until recently but I’ve recently had a lot of more important priorities in life so working on this had to go on hold for a little while. I am hoping in the next few months to release version 1.0 but as on now this is still experimental so should …
Keep Reading…

Setting up a Cisco network for video developers Part 2

Introduction Welcome to Part 2, this part will provide the background and current topology that is to be replaced, the real fun will start in Part 3. I know you are all impatient to get started configuring switches, routers and servers but I think that the design and the reasons behind the design are as important (if …
Keep Reading…

Setting up a Cisco network for video developers Part 1

Introduction This series of tutorials will be similar to my posts on a wireless setup, where I take a real world requirement of mine and fit it to a tutorial about NINet.org. Summary This series will take an existing flat topology with mixed switches running in L2 and convert it to a Cisco Switch Topology …
Keep Reading…

TFS Warehouse Cube Status via SOAP and Powershell

Well I’ve just been put in charge of managing our TFS infrastructure so here is the first of hopefully many posts around automating and managing TFS. The attached script runs a SOAP query against the TFS Warehouse Cube and returns the jobs and their status and then either generates an HTML file or sends an …
Keep Reading…