Mick's IT Blog

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.

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
Insiders

Sign Up for our Newsletter

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

article thumbnail

MECM System Cleanup

Mick's IT Blog

Recently, we started a cleanup of AD. Once the cleanup was completed, I wanted ConfigMgr cleaned up right away too. It is set to clean up old items, but it was not quick enough for me so I wrote the following tool that will query the All Systems collection via SQL and then reads the attributes in AD to see if the system is disabled. It will delete each disabled system from ConfigMgr at the end.

System 162
article thumbnail

Configuration Manager PowerShell Module: An update to the existing console is available

Mick's IT Blog

I was recently writing a new PowerShell tool to clean up Configuration Manager of old systems. When I ran the import-module cmdlet, I got the message The module was being imported from the Configuration Manager server. I always keep ConfigMgr up-to-date with the latest version within days of release and I saw the console was 5.2203.1063.2400. Doing a little digging, I found this was coming from the console that was installed on my laptop and not from the server.

Tools 157
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