I've been playing about with PowerShell over the last couple of years, but I'm still learning. I'll look to share some scripts I have been working on here.

Web Design

It seems that everyone does this nowadays, I don't do so that often but I enjoy it when I do. I've recently given Cheltenham Hackspace a makeover.


Shortcut to PowerShell as Admin (Win + X, A)
Run PowerShell as Admin from Command Prompt


Playing with $Host.UI.RawUI

Using $Host.UI.RawUI.BufferSize and .WindowSize to resize a PowerShell Console Window

Sample Code

Just testing out how to display some PowerShell with an embedded text editor

PS Version

Easiest way to see what version of PowerShell you are running

CPU Core Count

How many CPU cores do I have on this machine?



Presses buttons on the keyboard

Get-Food -Location "Five Guys" -Type "Cheeseburger" -Toppings *

To submit a message, just fill in the form below.

Leave this empty: