Monthly Archives: May 2016

Counting members

If you have a collection of objects $proc = get-process you can get the number of members using the Length property PS>  $proc.Length71 $proc is of type System.Array PS>  $proc.GetType() IsPublic IsSerial Name                                     BaseType——– ——– —-                                     ——–True     True     Object[]                                 System.Array … Continue reading

Posted in Powershell Basics | 1 Comment

Windows Server eras

This is worth a read https://blogs.technet.microsoft.com/windowsserver/2016/05/26/moving-forward-with-powershell-and-windows-server-2016/ It discusses the evolution of Windows server and PowerShell. Read it in conjunction with the videos of Jeffrey Snover’s talks at WinOps and the European PowerShell conference this year.

Posted in Windows Server 2016 | Leave a comment

WMF 5.0 preview support ending

Support for the WMF 5.0 preview is ending – https://blogs.msdn.microsoft.com/powershell/2016/05/23/end-of-support-for-windows-management-framework-wmf-5-0-production-preview-is-approaching-upgrade-to-rtm-bits/ Upgrade now!

Posted in PowerShell v5 | Leave a comment

PowerShell 5.1

Want to see what PowerShell 5.1 looks like? Install Windows Server 2016 TP 5 or get on the fast ring for Windows 10 Insider Previews. The latest build – 14352 shows a PowerShell version of  5.1.14352.1002 with Powershell 1.0 through … Continue reading

Posted in Powershell | Leave a comment

Slides and Code from my WinOps 2016 talk

The slides and code from my WinOps 2016 talk can be found here: https://onedrive.live.com/redir?resid=43CFA46A74CF3E96!79154&authkey=!AKIt7btEZsahTf8&ithint=file%2czip

Posted in DevOps | Leave a comment

DHCP scope

After rebuilding my test machine for Server 2016 (with mixed results) I needed to add a DHCP scope to the environment. I blogged about the DHCP PowerShell module several years ago. To quickly add a DHCP scope to the current … Continue reading

Posted in DHCP | Leave a comment

Windows server 2016 TP 5 activation

Having finished the current round of conference speaking I needed to upgrade my system to Windows 2016 TP5. I’m using a 6 year old Lenovo W510 system. First problem is that I couldn’t get the wireless adapter working – after … Continue reading

Posted in Windows Server 2016 | Leave a comment