Category: Development

0

CIM vs. WMI CmdLets – Speed comparison

In one of my last posts I mentioned that for me the CIM CmdLets have been faster than the WMI CmdLets. I referred mainly to my personal impression working with these CmdLets for quite some time on a pretty large array of different servers and tasks and supported this statement...

2

PowerShell CIM CmdLets – Working with lazy properties

In my last post, I explained how to solve one of the stumbling blocks when working with the PowerShell CIM CmdLets. The second problem, which was both pretty nasty as it basically prevented me from using the CIM CmdLets properly for SCCM and pretty time consuming, as it was hard...

2

CIM vs. WMI CmdLets – The top reasons I changed over

Some time ago I moved most of my WMI related work from the “deprecated” PowerShell WMI CmdLets (Get-WMIObject, Invoke-WMIMethod, etc.) over to the “new” CIM CmdLets (Get-CimInstance, Invoke-CimMethod, etc …). It wasn’t really because they are “deprecated”. Microsoft might treat them this way, but they will for sure be around...

0

Immediately see what your PowerShell script does – move the main code to the top

I’m currently updating/rewriting a whole slew of PowerShell scripts that I have created over the last couple years into something less “hacky”. As scripts grow larger they become harder to read or understand the logic. A typical and recommended approach is to break it up and separate certain functionality or...

0

Finally, debugging VBScript and JavaScript for free! – Visual Studio Community 2013 published

One of the most popular posts I’ve written so far was about using Visual Studio Express to debug VBScript and JavaScript in local scripts, hta files etc. Probably not popular in terms of the absolute count of visitors, as the target audience of my blog is pretty straightforward due to the...

Adding a generic search box to Teleriks ASP.Net MVC Grid 0

Adding a generic search box to Teleriks ASP.Net MVC Grid

In the new version of the MDT Web FrontEnd, I make use of some components from Teleriks extensions for ASP.Net MVC. Especially the grid, as it comes with all the necessary stuff like sorting, filtering, paging, etc. There is also a free/open source version available, that can easily be added...