header image

Archive for October, 2017

Use CIM cmdlets not WMI cmdlets

Posted by: | October 5, 2017 Comments Off on Use CIM cmdlets not WMI cmdlets |

WMI and CIM seem to cause a LOT of confusion. Its really simple. CIM is an industry standard from DMTF.org. WMI was Microsoft’s implementation of CIM way back in Windows NT days. The complication is that Microsoft had a set of WMI cmdlets in PowerShell v2. In PowerShell v3 they introduced a set of CIM […]

under: PowerShell and CIM

PowerShell templating systems

Posted by: | October 1, 2017 Comments Off on PowerShell templating systems |

Code reuse is a big plus when you’re developing lots of scripts. The ability to create templates for your code can also save you lots of time – for instance when advanced functions first appeared I create myself a template the included all of the validation checks, the code to switch functionality based on parameter […]

under: PowerShell

« Newer Posts