Monthly Archives: June 2016

Wireless on Windows 2016 TP5

Windows Server 2016 TP5 which appeared at the end of April has a major flaw. It doesn’t work with wireless cards! I use a relatively high-spec laptop as my lab machine. Not being able to get the wireless card working … Continue reading

Posted in Windows Server 2016 | Leave a comment

Cleaning up entries on Remote Desktop Connection

I use RDP between my main laptop and the machine on which my lab resides. When I rebuild the lab the entries in the Remote Desktop Connection for the old machine still remain. There isn’t a direct way to remove … Continue reading

Posted in Powershell, Registry | Leave a comment

Boolean in Where-Object filter

I was testing some code yesterday and realised there was a quirk in the way the original where syntax (with {}) worked and the way the newer syntax worked. To demonstrate this I created a set of objects $i = … Continue reading

Posted in Powershell Basics | 1 Comment

Still asking for topics

Earlier in the month I posted a request for topics on This is a request for YOU to tell us what topics you would like to see at the next PowerShell & DevOps Summit We’ve had a handful … Continue reading

Posted in Powershell, Summit | Leave a comment

PowerShell Summit & Conference videos 2016

  If you didn’t get to any of these conferences this year the videos are now available. PowerShell and DevOps Summit   European PowerShell Conference You might find this interesting as well. WinOps conference

Posted in Powershell | Leave a comment

Too many Windows 10 releases????????

The last couple of days have seen some incredibly stupid headlines but one that caught my eye was someone from the “computer press” whining that there are too many releases of Windows 10. Unbelievable What part of the Windows Insider … Continue reading

Posted in Opinion, Windows 10 | Leave a comment

Parallel processing

One of the great features PowerShell brings is the ability to remotely administer your servers. Most people begin remote administration by processing the servers sequentially. Eventually, this process breaks down because you have too many servers and/or the processes you … Continue reading

Posted in Powershell | Leave a comment


It would be nice to be able to do this: PS>  Get-Date -Day 25 -Month December -Year 2016Get-Date : Cannot bind parameter ‘Month’. Cannot convert value “December” to type “System.Int32”.Error: “Input string was not in a correct format.”At line:1 char:25+ … Continue reading

Posted in Powershell Basics, PowerShell v5 | Leave a comment

WMI classes and Storage cmdlets

There is a hierarchy of objects to work through when dealing with disks First you have the physical disk PS>  Get-CimInstance -ClassName Win32_DiskDrive | fl Partitions : 5DeviceID   : \\.\PHYSICALDRIVE0Model      : HFS256G3AMNB-2200ASize       : 256052966400Caption    : HFS256G3AMNB-2200A A physical disk can … Continue reading

Posted in PowerShell and CIM, PowerShell and WMI | Leave a comment

WMI Filters

A common mistake with WMI/CIM filters is: PS>  Get-WmiObject -Class Win32_LogicalDisk -Filter “DeviceId=C:”Get-WmiObject : Invalid query “select * from Win32_LogicalDisk where DeviceId=C:”At line:1 char:1+ Get-WmiObject -Class Win32_LogicalDisk -Filter “DeviceId=C:”+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : InvalidArgument: (:) [Get-WmiObject], ManagementException    + FullyQualifiedErrorId : … Continue reading

Posted in PowerShell and CIM, PowerShell and WMI, Powershell Basics | Leave a comment