Mick's IT Blog

article thumbnail

Trigger Windows Update in ConfigMgr without PowerShell

Mick's IT Blog

I've been meaning to share this blog post for some time now, and finally got around to it. If you need to trigger a Windows update without using PowerShell, there is a way to do it. In newer versions of Windows 10, usoclient.exe is used to initiate an update scan. However, most of its parameters no longer work except for startinteractivescan. The issue I faced was that it had to be executed as the system account or as the end user in ConfigMgr.

Windows 207
article thumbnail

Find Programs and Features Uninstall Registry Keys with PowerShell

Mick's IT Blog

I am working on a new package to upgrade one of the applications. This time, it requires I uninstall the old app first before installing the new version. There are two different versions, so I needed to retrieve the uninstall strings for both. That is when I decided to write this script that will scan the registry for the application and list the key values as shown below.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Configuring Wake-On-LAN for Dell Systems

Mick's IT Blog

The firm I am at has recently upgraded all systems to the newest model Dells. In doing so, some of the settings for configuring WOL have changed in the BIOS. I have rewritten this script to cover all changes to the OS, BIOS, and NIC. The script uses the DellSMBios PowerShell module to configure the BIOS settings. Thanks to these sites for pertinent information that helped with writing this tool: How to setup Wake on LAN on your Dell System How to Turn on/off Fast Startup in Windows 10 Informatio

LAN 143
article thumbnail

Bitlocker Recovery Password AD Backup and Cleanup

Mick's IT Blog

This PowerShell script not only backs up the Bitlocker recovery password to AD but also cleans out previous backups made that do not match the current password associated with the machine. The script retrieves the local bitlocker password along with all recovery passwords written to AD. It will then parse through the associated passwords and remove all that does not match the one associated with the local machine.

Backup 178
article thumbnail

Automating Dell TPM Configuration

Mick's IT Blog

Over the years, we have manually configured the TPM before imaging a system as part of our build process. Dell has since given the ability to automate the entire process after giving the option to automate clearing the TPM. That was always been the big stopper in full automation. I wrote a series of scripts that I put into the build process that do all of the necessary steps in readying the TPM for bitlocker as shown below.

Dell 171
article thumbnail

Identify Machines a User is Logged Into using Carbon Black

Mick's IT Blog

If you have Carbon Black in your environment, you can use it to identify which machines a user account is logged into. Carbon Black collects a vast amount of data on machines and reports it to the cloud database. The following is how to use Carbon Black to list the machines: Log into the Carbon Black Cloud Portal Click the Investigate tab In the investigate search field at the top, enter the following: Enter process_username: in the search field at the top. needs to be changed to the actual user

Cloud 165
article thumbnail

Last Server Reboot Reporting

Mick's IT Blog

Recently, we needed a report of the last boot time of all servers. I wrote this PowerShell script that queries AD for a list of all windows servers and then does a WMI query on each server for the LastBootUpTime. It then calculates the number of days and writes this to an object with the computer name and the number of days since the last reboot. It will write this info to a CSV file.

Report 208