Monthly Archive

Categories

Relevance of Scripts

I had a sudden thought today about the relevance of scripts – PowerShell Scripts -  today.

 

PowerShell v6 can’t run some of the modules that we’ve come to rely on – for instance the AD cmdlets. The Windows Compatibility Pack (see previous post) enables access to some of the underlying .NET classes that enable AD administration through PowerShell.

 

This means going back to the v1/v2 days and writing scripts – we may wrap them as advanced functions and modules these days but the basic code is the same – instead of using canned cmdlets.

 

My first two books

PowerShell in Practice - https://www.manning.com/books/powershell-in-practice

and

PowerShell and WMI - https://www.manning.com/books/powershell-and-wmi

 

supply lots of code examples for working with PowerShell Scripts including AD and WMI. If you haven’t got a copy they’ll help you get back to basics.

Comments are closed.