RSiddaway

PowerShell v2

Just seen a question about PowerShell v2. PowerShell v2 was a huge step forward when it appeared in October 2009 as part of Windows 7 / Server 2008...

read more

Unblock and unzip

When you download a zip file from the Internet you have to unblock and unzip the file. I need to do this fairly often so wrote this simple function...

read more

Missing verbs?

I saw a post that suggested that you can’t use Sort as a verb in your functions. You get a message that sort is an unapproved verb. Are there any...

read more

Sort direction

By default Sort-Object uses an ascending sort direction. Get-Command | Sort-Object -Property Source will sort the commands based on the Source...

read more

PowerShell v6.2.2

PowerShell v6.2.2 has just been released. One breaking change – the Enter-PSHostProcess is disabled when system is in lock down mode. The jumplist...

read more

Logon sessions

Saw a question about logon sessions that had me looking at CIM class Win32_LogonSession. I really don’t like the example code they have – code...

read more

MVP award

I received the email this afternoon informing that I’d been awarded MVP status for another year – the 12th year I’ve received the MVP award. I’m...

read more

Quotes in CSVs

Up to and including PowerShell v6.2.x converting or exporting data to a csv has automatically put quotes round each field. In PowerShell v7 you can...

read more

Test DNS servers

Had a recent comment about testing DNS servers which got me thinking how do I test DNS servers. I decided I wanted to get the DNS server address...

read more