Monthly Archives: January 2016

WMF 4.0 Updates available downlevel

The WMF 4.0 Updates that were released in November 2014 for Windows 8.1 and Windows Server 2012 R2 are now available for: Windows Server 2012 Windows Server 2008 R2 SP1 Windows 7 SP1 You need WMF 4.0 installed to install … Continue reading

Posted in PowerShell v4 | Leave a comment

Setting external time source in AD

The PDC emaulator in the root domain of your AD forest should point to an external time source. For some odd reason the PDC emulator in my lab wasn’t doing that. Easily remedied: #### set external time source## set server … Continue reading

Posted in PowerShell and Active Directory | Leave a comment

WMF 5.0

If you follow the PowerShell Team blog – http://blogs.msdn.com/b/powershell/ (and if you don’t you should) you’ll know that the WMF 5.0 RTM downloads were pulled just before Christmas. This was due to a bug that reset the module environment. A … Continue reading

Posted in PowerShell v5, WMFv5 | 1 Comment

PowerShell conferences 2016

April is going to be a very busy month. It starts with the PowerShell plus DevOps Global Summit in Bellevue, Washington – https://eventloom.com/event/login/PSNA16 The PowerShell Conference EU 2016 follows later in the month – http://www.psconf.eu/ I’ll be speaking and running … Continue reading

Posted in Powershell | Leave a comment

European PowerShell conference 2016

PowerShell Conference EU combines the former “Deutsche PowerShell Konferenz” and “PowerShell Summit EU” into one great big 3-day PowerShell event for Admins and DevOps in Europe and takes place April 20-22 in Hannover/Germany. With more than 40 international speakers including … Continue reading

Posted in Powershell | Leave a comment

Testing against an arrays contents

You may need to test if a value is a member of an array. PowerShell provides 2 operators for testing array membership  – –   -in and –contains. Simple usage is like this PS> $colours = ‘red’, ‘orange’, ‘yellow’, ‘green’, ‘blue’, … Continue reading

Posted in Powershell Basics | 1 Comment

WMI discovery

I’ve been working with System Center Configuration Manager this week. SCCM uses a lot of WMI. However, WMI discovery is still a bit of an art. I needed to find the SMS_SCI_Component class. If you know the namespace you can … Continue reading

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