Monthly Archives: October 2016

Don’t reinvent the wheel

Way back when I used to take Microsoft certification exams there were often questions of the form “Perform task X with the minimum of administrative effort” Most, if nor all, of the possible answers would be correct but the correct … Continue reading

Posted in Powershell, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016 | 1 Comment

Start and end dates

Be careful with start and end dates when search for files or through event logs.  Often people want to see what happened yesterday If you do this PS> $end =  Get-DatePS> $start = (Get-Date).AddDays(-1)PS> $start 30 October 2016 16:32:35 PS> … Continue reading

Posted in Powershell | Leave a comment

Registration opens 1 November

Registration for the 2017 PowerShell Summit opens tomorrow – 1 November 2016 First come first served. The agenda and registration are available here –

Posted in Powershell, Summit | Leave a comment

Upgrading WSL

If you start  WSL (Bash on Ubuntu on Windows) and see messages like this: 7 packages can be updated.1 update is a security update.root@RSsurfacePro2:~# You can view the available updates: root@RSsurfacePro2:~# apt-get updateHit:1 xenial InReleaseGet:2 xenial-updates InRelease [95.7 … Continue reading

Posted in Linux, Windows 10 | Leave a comment

PowerShell and DevOps Global Summit 2017 agenda

The agenda for next year’s Summit is almost complete – we’ve notified all speakers as to whether their sessions have been accepted or not. If you haven’t received your notification please check your spam/junk mail. We have a small number … Continue reading

Posted in Powershell, Summit | Leave a comment

PowerShell 10th Anniversary

If you were in the audience at the 2006 Microsoft European TechEd (or IT Forum or whatever they called it that year) key note presentation you’ll know that 14 November 2016 is the 10th anniversary of PowerShell. The Powershell team … Continue reading

Posted in Powershell | Leave a comment

PowerShell Summit 2017–agenda

We’re finalising the agenda for the 2017 Summit. Most of the sessions are now up on the event site. Go to and click the Brochure and Registration link. You’ll be able to down load a brochure describing next years … Continue reading

Posted in Powershell, Summit | Leave a comment

Server Uptime

Its easy to get the last boot time of a Windows machine but how do you get the uptime function Get-Uptime { [CmdletBinding()] param (   [string]$ComputerName = $env:COMPUTERNAME ) $os = Get-CimInstance -ClassName Win32_OperatingSystem -ComputerName $ComputerName $uptime = (Get-Date) – … Continue reading

Posted in PowerShell and CIM, PowerShell and WMI | 1 Comment

Current location

Windows 10 gives you the option of installing BASH on Ubuntu – also known as the Windows Subsystem for Linux (WSL). More information from I thought it would be interesting to compare some of the bash commands with … Continue reading

Posted in Bash, Powershell | Leave a comment

Easy and Expert

This is a very interesting article – The premise that there is no “easy” button in IT is spot on and fits with this quote from  Theodore Roosevelt: “Nothing in the world is worth having or worth doing unless … Continue reading

Posted in Opinion | Leave a comment