Start, Cancel or Delete a SCCM Client Operation
In my last post, I demonstrated how to call the InitiateClientOperation method from the SMS_ClientOperation WMI class to run a SCEP Full Scan. However, this call itself is pretty limited for daily...
View ArticleInvoke a remote command without WinRM, psexec or similar – Access...
Recently I ran into a situation, where I had to check a few log files on some remote computers and also needed to execute some commands to fix an issue. However, due to reasons I’m not going to enlarge...
View ArticleCreating standalone PowerShell scripts – Automatically merging module...
The Problem Organizing code in modules and re-using the same functions in different scripts is a common and recommended practice when working with PowerShell. I do have a lot of different modules...
View ArticleImporting Task Sequences into SCCM/ConfigMgr
The Problem One of my probably mostly used scripts is a VBScript that monitors for any changes on Task Sequences in SCCM and exports a copy for backup purposes when an updated task sequence is saved....
View ArticleExporting Task Sequences from ConfigMgr to plain xml files
In the last blog post I showed a script that would allow you to import a Task Sequence from an xml file as the ones being created by the Task Sequence monitoring script (see...
View ArticleCIM 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,...
View ArticlePowerShell CIM CmdLets – Working with embedded or keyless classes
In my last post, I explained a bit, why I changed over to the „new“ PowerShell CIM CmdLets. However as mentioned, there were a few painpoints that I struggled with. The Problem One of them was to work...
View ArticlePowerShell 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...
View ArticleCIM 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...
View ArticleTunnel a PowerShell script to a remote machine and invoke via WMI
In my blog post „Invoke a remote command without WinRM, psexec or similar – Access administrative shares even if they have been removed“ I demonstrated how to use WMI to execute a command on a remote...
View ArticleCreating a collection of VPN devices
With so many people working from home these days, handling devices that are connected via VPN has become challenging for many companies. Looking at this from the ConfigMgr perspective, there are...
View ArticleBreaking your collections down into smaller subsets
A common requirement, when deploying something to a larger group of computers is, that you don’t want to distribute it to all at once. It might be as simple as targeting a smaller subset of devices...
View ArticleWindows AutoPilot and the case of the missing keyboard layout
I’m currently working a lot with Windows AutoPilot. And while it has matured quite a bit in the last couple years, there are still some things that make you wonder. Targeting a multi-national...
View ArticleWindows AutoPilot and mainboard replacements – Or “how random computer show...
If you ever had a computer that you wanted to setup and suddenly presented you with a screen trying to enroll you into a company that you never heard of, or someone calling you and telling you that...
View Article
More Pages to Explore .....