I needed to find all the hardware models in our environment. Lenovo stores their model name in ‘version’ instead of ‘model’ like other vendors. I ran the following SQL code on our SCCM/MECM database to get the data I needed. This code can be converted to a report in SSRS or used in PowerShell. If […]
As part of the general maintenance and upkeep of SCCM we have a “Duplicate Host Names” collection in SCCM. This collection finds duplicate host names but unfortunately does not notify us when one is found. The script below will send an e-mail when the collection membership is greater than 0. We have it set up […]
To find a menu of previous commands in Command Prompt just press F7.
When getting an application ready for deployment it is typically much faster to test that the install works as expected by running it as SYSTEM. When an application is ran from Software Center it is ran under the SYTEM context. Manually running the install as SYSTEM means you do not need to wait for your […]
We started deploying 7-Zip v18.01 but quickly had to stop the deployment due to Windows Explorer crashing and leaving the end user without a taskbar. We tweaked our deployment and added this parameter to our PowerShell App Deployment Toolkit install string: