Mat Grumpy Tech

The Boss, the head honcho, the guy who takes credit for your hard work but somehow blames you for his failures.

United Kingdon

40 posts

PowerShell : Quick Windows Software Audit

#PowerShell

A while ago I publised a lovely little script on how to run 'Invoke-command' on arrays of machines quickly to get results quickly You can find…

Mat Grumpy Tech

PowerShell, Confluence : Simple hardware audit but pushed into Confluence

#PowerShell #Confluence

Ok here is a big one for you. Its in functions so you should be able to split it out and use the bits you need…

Mat Grumpy Tech

PowerShell, Hyper-V : Identify orphaned VHDX files

#PowerShell #Hyper-V

If you have a Hyper-V cluster of just a lot of VM's on a standalone Hyper-V server keeping track of all the virtual hard disks can…

Mat Grumpy Tech

PowerShell: AD machine audits

#PowerShell

Today I was asked to provide evidence that we have LEM installed on all of our desktops. ¬†Apparantly me saying it's all fine is not enough…

Mat Grumpy Tech

PowerShell, Active Directory : Uncheck password does not expire

#PowerShell

If you have lots of accounts that have passwords set to never expire this script will hunt them out and correct that for you Import-Module ActiveDirectory…

Mat Grumpy Tech

PowerShell: Get last AD user login

#PowerShell

This is a little more tricky than it looks. Last ¬†login is only stored on the DC that last authenticated the user, hence you need to…

Mat Grumpy Tech

PowerShell : System Audit (How to correctly use Invoke-Command for batch jobs)

#PowerShell

I rececently revisted an old script that i had build to audit flash versions. In this 200+ line script, I pulled the machine list from AD…

Mat Grumpy Tech

WSUS : Error 80246008

#WSUS

My blog is typically more 'how to' then firefighting but I noticed a few of what I would call "Whacky" fixes for this wsus error and…

Mat Grumpy Tech

PowerShell + Confluence: Update an Atlassian Confluence page from PowerShell

#PowerShell

Something a with a little more meat on it for those of you that have used Atlassian Confluence. I imagine this would usually be done in…

Mat Grumpy Tech