Author Archives: richardsiddaway

Learning, always learning

PowerShell is going mainstream amongst the administrator community – it may seem slow but the last couple of years has definitely seen a sustained upswing in adoption in my experience. As more people are demonstrating the benefits we see more … Continue reading

Posted in Books, Powershell | Leave a comment

Count property

Its frequently said that PowerShell is so big that no one can know everything about it.  I proved that today when I “discovered” a change in PowerShell of which I wasn’t aware.   If you create an array: £> $a … Continue reading

Posted in Powershell Basics | Leave a comment

Split-Path serendipity

I’ve used Split-Path and its associated cmdlet Join-Path a lot when working with file system paths. Something I read today started me asking if it would work with URLs   It does:   £> Split-Path -Path ‘’ -Leafwindows-powershell-qa £> Split-Path … Continue reading

Posted in Powershell | Leave a comment

European Summit countdown #1

There are four weeks left to register for the Summit if you are going to attend. Our numbers are moving in the right direction but we still need more registrations to make a 2015 Summit feasible.

Posted in Powershell, Summit | Leave a comment

DNS client settings

Following yesterdays post there are a couple of other cmdlets worth looking at if you want to dig into the DNS settings on your client machines. Get-DnsClient wil show you the DNS relsted settings for all of your network interfaces … Continue reading

Posted in DNS, Networking | Leave a comment

Have you been talking to strangers?

Want to know the machines to which your machine has been connecting?   Try looking in the client DNS cache:   Get-DnsClientCache   will show a wealth of useful data.  All in the form: £> Get-DnsClientCache | where Entry -like … Continue reading

Posted in DNS, Networking, Powershell | Leave a comment


I was asked about foreach today and responded with a description of who foreach-object works. Thinking about it I should have realised that part of the issue with foreach is the confusion that arises between foreach and foreach – –  … Continue reading

Posted in Powershell Basics | Leave a comment

Can it -whatif

One of the nice things about PowerShell is that it can help you prevent mistakes. Many of the cmdlets that make changes to you system have a –whatif parameter that allows you to test your actions:   £> Get-Process | … Continue reading

Posted in Powershell Basics | Leave a comment

Select-Object or Where-Object

Both Select-Object and Where-Object (referred to by their aliases of select and where from now on) are both used to filter data. It is important to know the way these 2 cmdlets are used. Where is used to restrict the … Continue reading

Posted in Powershell Basics | Leave a comment

Installing Centos in Windows 2012 R2 Hyper-V

I need to create a virtual machine with CentOS 6.5 as the guest OS. I clicked through creating the VM and discovered that the install wouldn’t work. Eventually tracked down the issues. Keep the following points in mind as you … Continue reading

Posted in Virtualisation, Windows Server 2012 R2 | Leave a comment