Monthly Archives: November 2018

Active Directory cmdlets in PowerShell v6.1.1

Just discovered that you can run the Active Directory cmdlets in PowerShell v6.1.1 BUT there is a huge caveat. The Windows 10 October 2018 (Windows 10 1809) update includes the RSAT tools (including the AD tools) as optional features. This … Continue reading

Posted in PowerShell and Active Directory, PowerShell v6 | 1 Comment

Reverse an array

Ever needed to reverse an array? If its sorted then sorting in the opposite direction will work. Most arrays aren’t sorted so you need to use the Reverse static method of the array class Here’s some examples $carray = ‘a’,’b’,’c’,’d’,’e’,’f’,’g’,’h’,’i’,’j’,’k’,’l’,’m’,’n’,’o’,’p’,’q’,’r’,’s’,’t’,’u’,’v’,’w’,’x’,’y’,’z’ … Continue reading

Posted in Powershell | Leave a comment

Hyper-V book now available

My Hyper-V book now available. Ebook direct from the publisher: The Kindle version is on Amazon UK: Presumably other Amazon sites will follow soon The paper back version is on pre-order from Apress and Amazon to be available … Continue reading

Posted in Hyper-V | 1 Comment

Finding the minimum and maximum values

Finding the minimum and maximum values in a set of numbers is ridiculously easy with PowerShell. I’ve created a function in line with the other techniques I’ve shown but in reality could be be done equally well as a single … Continue reading

Posted in Powershell, PowerShell v5, PowerShell v6 | Leave a comment

Windows 10 install wasting my time

I’ve just made the mistake of installing Windows 10 Insider preview build 18272 from the iso. The only thing I can say is that Windows 10 install wasting my time. The install proceeds as you would expect but then once … Continue reading

Posted in Windows 10 | 3 Comments