Oftentimes, you will find that MECM (SCCM) will get cluttered over time. Forgotten objects that are no longer deployed will begin to pile up. In the name of good housekeeping, one may periodically wish to search for remnant objects that are no longer deployed. I have recently taken on this task, and I found Matt…
Category: PowerShell
Posts pertaining to PowerShell scripting
Nuances of Referencing Environment Variables from PowerShell
If you are installing an app such as a database client, you may encounter the need to reference environment variables. There are times where it is absolutely beneficial to do this from within a Powershell script rather than a batch file, and it may simply be that you want to manage other parts of your…
Bypass Deferred Restart For Urgent Powershell Application Deployment via MECM
If a reboot is required for an application installation, you should likely attempt to force the device to reboot using the, “Should Configuration Manager enforce specific behavior regardless of the application’s intended behavior” drop-down menu in the Deployment Type settings. Unfortunately, depending on client settings, you may experience a deferred restart. If you are keen…