Hiding specific drives via GPO

There is an existing GPO which allows drives to be hidden, however, this is limited to pre-defined drive letters (A, B, C, D - or some variation of those) which isn’t particularly useful if you have other drives you’d like hidden. There is a clever way around this using GPP Drive…

PowerShell DSC Primer

PowerShell Desired State Configuration (DSC) works in either Push or Pull mode. In Push mode the DSC configuration is ‘pushed’ to the server (usually by copying the files), and executed there. In Pull mode, the server queries a Pull server and grabs it’s own configuration. Pull…

Cisco router configuration for Australian 3G or 4G connectivity

There is very little in the way of solid documentation on configuring Cisco devices with cellular interfaces to work with Australian carriers, especially Optus. The first thing to note is that Optus only support static public IPs on 3G connections, while by default the cellar…

JavaScript concepts

I’ve been spending some time delving into JavaScript to get a better understanding of the language as I’m finding myself using it more and more. This is a summary of some of the concepts and fundamentals I wanted to jot down for future reference. Objects and this One key feature…

MSSQL DateTime Select

I’ve got a table with a ‘datetime’ field and I needed to retrieve rows from a specific year (2016) and month (December). After unsuccessfully trying a few of the usual statements a bit of research led me to the function. A list of valid arguments can be found on MSDN

Filtering EIGRP redistributed routes

We’ve got a switch with a number of layer 3 interfaces bound to networks which we need in EIGRP. One solution is to use a statement, but this introduces a few unwanted behaviors, the primary one being that this enables EIGRP on these interfaces which is undesirable. The…

Bulk Out of Office with PowerShell

Just a quick command to set an Out of Office reply through PowerShell. While we normally configure forwarding when offboarding staff, this particular customer only wanted out of office replies. This example applies the policy to all mailboxes in an OU, but it can obviously be…

Cisco 800 Series Evaluation License Activation

I’ve got an 887 with an advsecurity license but need EIGRP for a quick lab. Normally I’d reach for GNS3 but figured activating an evaluation of the advipservices license would be quicker, and it was something I had never done before. We can activate the trial with the command…