My Profile Photo

luke.geek.nz


An IT Engineer with a love for all things IT including (but not limited to), Microsoft Azure, Automation and Service Management!


  1. Microsoft Ignite NZ 2016! What a blast!

    Microsoft Ignite NZ 2016! What a blast! #NinjaCat #MSIgniteNZ I was lucky enough to attend Microsoft Ignite this year, so I thought I would do a high level blog post about my experience at this event. Table of Contents 1 Prologue: 2 Day 1 (Tuesday 25th October 2016): 3 Day 2 (Wednesday 26th October 2016): 4 Day 3 (Thursday 27th October 2016): 5 Day 4 (Friday 28th October 2016): Prologue: For those that don’t know...…


  2. Using PowerShell to set up Automatic Login on Windows Servers

    Some server based applications require to be logged into a service account to allow an Application or service to run, These applications usually require manual intervention by systems administrators to login to the account manually after a server restart. There are many ways to setup Automatic Logon, using “control userpasswords2” via the Run Prompt, using Third Party utilities like LogonExpert or_ Sysinternals Autologon for Windows  _this simply using RegEdit and setting them manually. I have created a PowerShell script for...…


  3. Using PowerShell to remove Snapshots from Virtual Machines in vSphere

    Although vSphere 5.5 has a scheduled task to create Snapshots, it appears to be missing a scheduled task to remove them. I had to find a way of automating the removal of the Snapshots for specific Virtual Machines at a specific time (ie not during business hours). To do this required 3 things, a Scheduled Task and a PowerShell script using the VMWare Snapin and a TXT document with the hostname of the Virtual Machine...…


  4. Using PowerShell to remove App-V packages from a Windows workstation

    App-V applications, usually store their data locally if they are not streamed. Sometimes an Application will have problems, either hasn’t been downloaded or some other reason. One of the solutions that can be ran is to clear the App-V package store of a workstation, allowing you to reevaluate and download the packages back to the affected computer. This script is pretty simple and something I made a year ago for some colleagues experiencing App-V application...…


  5. Enabling Disk Cleanup in Windows Server 2008 R2

    In Server 2008 and Server 2008 R2, Disk Cleanup is Disabled by default. This is how you can enable disk cleanup in Windows Server 2008 R2 – 64bit. You can enable the Desktop Experience role (which requires a restart to complete) but the easiest way is to copy the files from the WinSXS directory to the relevant directories – as mentioned below OS File Location Windows Server 2008 R2 C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe Windows Server 2008 R2 C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui...…