Monthly Archives: November 2015

PowerShell Summit 2016–agenda complete

The agenda is complete on the event web site. We still have to finalise the sessions from the PowerShell Team but they will be giving a number of sessions.

Posted in Powershell, Summit | Leave a comment

A deal of the day you’ll not want to miss

PowerShell in Action, Third Edition is part of Manning’s Deal of the Day on Friday 27 November – see http://www.manning.com for details on the day – Half off my book Windows PowerShell in Action, Third Edition. Use code dotd112715au at … Continue reading

Posted in Books, Powershell | Leave a comment

Creating Registry Key

I had a question left on the blog asking how to create a registry key. My preferred method is to use the CIM class = StdRegProv. Its a static class so you don’t need to create an object [uint32]$hklm = … Continue reading

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

PowerShell column

The first in a regular(ish) series of articles has been published on the TechNet UK Blog. http://blogs.technet.com/b/uktechnet/archive/2015/11/20/why-you-need-to-learn-powershell.aspx Covering all things PowerShell related the articles will be appearing every 3-4 weeks.

Posted in Learning Powershell | Leave a comment

Windows Server 2016 TP4

A new technology preview for Windows Server 2016 has just been released. Available from all good Microsoft download sites.

Posted in Windows Server 2016 | Leave a comment

Splatting and Default parameters

One thing you don’t hear much about is default parameters. Consider this Get-CimInstance -ClassName Win32_LogicalDisk -Filter “DeviceId = ‘C:’” A pretty standard use of CIM. Now think if you have to do this across a number of machines on a … Continue reading

Posted in Powershell Basics | Leave a comment

Out of Process

One thing I’ve been seeing come up a lot recently is the problem of modules and cmdlets cot being available when jobs and workflows are executed even though the module has been specifically loaded into PowerShell. This is because workflows … Continue reading

Posted in Powershell Basics | Leave a comment

Accessing WMI

There are 3 sets of cmdlets for working with WMI classes – the WMI cmdlets, the WSMAN cmdlets and the CIM cmdlets.  The protocols used by these 3 sets are different. The WMI cmdlets introduced in PowerShell 1 & 2 … Continue reading

Posted in PowerShell and WMI | Leave a comment

PowerShell + DevOps Global Summit 2016 – the agenda

We’ve finalised the agenda and we’re starting to publish session information on the web site at https://eventloom.com/event/login/PSNA16   There are a handful of sessions on the site at present. The rest will be added over the next week or so. … Continue reading

Posted in Powershell, Summit | Leave a comment

WMI wildcards and filtering

A question on the forum asking about filtering WMI results raises a number of interesting points. The user wanted to pass a computername and a filter term to pull product information from remote machines. I ended up with this $computername … Continue reading

Posted in CIM, PowerShell and CIM, PowerShell and WMI, Powershell Basics | 1 Comment