Mick's IT Blog

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.

Imaging using MDT with Autopilot

Mick's IT Blog

If you have a system that has been infected or the drive had to be replaced, you'll need to lay down a new bare OS and then have autopilot finish up the configuration of the machine. For this, we are using MDT as it is easy to maintain and very fast at imaging.

Insiders

Sign Up for our Newsletter

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

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.

System 142

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.

Backup 153

The State of Business Intelligence in 2022

Speaker: Howard Dresner & Chandrashekar (a.k.a. LSP)

In this session, Howard Dresner will examine the latest end-user trends surrounding the business intelligence and analytics market, cutting through the hype to focus on what's really happening and why it matters. This interactive session will cover BI drivers, targets, and success factors, as well as the increasing importance of data leadership.

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.

Tools 139

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.

Dell 148

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.

Report 173

Installing WinGet via PowerShell

Mick's IT Blog

I wanted to install Winget via PowerShell in an automated process. The first thing I did was to go to the Winget GitHub site and select the latest version of the Windows Package Manager.

Installing Printers via ConfigMgr for Non-Admin Users

Mick's IT Blog

KB5005652 resolved the "PrintNightMare" vulnerability, but it also brought many companies to a halt when it came to end-users installing printers if they did not have administrator privileges. During the time since the update, we had our help desk install printers for users on an as-needed basis.

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.

Cloud 144

The Top 5 Business Outcomes Companies Can Achieve From Monitoring Consolidation

In this eBook, learn what the top five business outcomes are that organizations see when leveraging Datadog's end-to-end monitoring tool.

Automating the Deletion of Windows.old

Mick's IT Blog

It is the beginning of 2021 and my first project for the new year is upgrading all systems to Windows 10 20H2. At the end of the upgrades comes the cleanup and there is no clean way to do this for system admins. Cleanmgr.exe is now deprecated as of Windows 10 2004.

Configure SQL Server Firewall Ports with PowerShell

Mick's IT Blog

I recently had to rebuild the Configuration Manager server. As I was running the prerequisite tool, it showed it could not communicate with the SQL server that is separate from the Configuration Manager Server. The issue ended up being ports needed to be opened up.

Remotely Pushing Windows Updates via Command Line to Windows 10 Machines

Mick's IT Blog

Normally, windows updates are pushed to machines using Configuration Manager in an enterprise environment. There are occasions though when they must manually be pushed, such as when a system continues to fail via ConfigMgr and troubleshooting is required.

How to effectively add Office updates to the update folder

Mick's IT Blog

If you are still using an on-prem version of office, you know the need to populate the Updates folder so updates get applied when Office is installed instead of having to wait for the updates to download and then be installed.

How To 133

Administrator Reporting Tool

Mick's IT Blog

This PowerShell tool queries AD for a list of machines in the specified administrative admin groups. The list is specified by modifying the script with the groups to be queried. The following example shows how to add groups to the query.

Tools 135

Modernizing Workloads with the Cloud: How to Improve Performance & Reduce Costs

In this eBook, you’ll learn how to migrate workloads to Azure and optimize performance for your serverless and containerized applications in Azure.

Troubleshooting No Task Sequences are available (Tasksequence.xml does not exist, is empty, or is inaccessible)

Mick's IT Blog

I encountered this error when working with MDT right after deleting two old task sequences. To troubleshoot this, I went to the logs directory in the MDT hierarchy.

125
125

PowerShell: Install Fonts

Mick's IT Blog

Font installation using PowerShell has changed since Windows 10 1909. The old way of doing it with PowerShell no longer works. This new script was originally written by Ben Reader who is a fellow Microsoft MVP from Australia.

Configuration Manager Message ID 11170 Error

Mick's IT Blog

I was in the process of pushing out the Microsoft Windows 10 20H2 upgrade when I had 23 systems that errored out. They reported the error shown below.

AD Group Member Reporting

Mick's IT Blog

This tool queries specified AD groups for new users that have been added to the group within a specified number of days. The script is written so that it can be used with Azure Automation, Orchestrator, or even a scheduled task, with the addition of the send-mailmessage cmdlet.

Groups 170

Prioritizing Customer Experience Using SLIs & SLOs: A Case Study from The Telegraph

Service Level Indicators (SLIs) and Service Level Objectives (SLOs) are a key pillar of Site Reliability Engineering (SRE) and are the principal tool for eliminating needless alerts and focusing on what really matters to the business.

Which Configuration Manager PowerShell Module should I use?

Mick's IT Blog

If you use PowerShell with Configuration Manager, you likely know that there are two PowerShell modules named ConfigurationManager.psd1.

Using PowerShell to list Zerto Unprotected Systems

Mick's IT Blog

This script will connect to the Zerto server and retrieve a list of systems that Zerto is not backing up. The script has been written so that it can function in the Azure Automation or Orchestrator environment. It can also be used as a scheduled task or executed manually.

System 173

Upgrading to both Windows 10 1903 and 1909 with Configuration Manager

Mick's IT Blog

The time has come to do another creator update to the corporate systems. We skipped the 1903 upgrade because of the Windows 7 to Windows 10 deployment that completed just after the release of 1903. It was too soon to start another creator update project, so we waited until 1909.

Deleting the Windows 10 Recovery Partition

Mick's IT Blog

We use VMWare for our servers and sometimes virtualized desktops. One of the issues we ran into was expanding the disk space on a virtual machine. When disk space was added, the C: drive could not be expanded because of the reserve drive "being in the way".

Detect and Respond to Threats Across Your Applications, Networks, and Infrastructure

Understand how to solve cloud complexity challenges with threat detection tools, analyze security threats anywhere in your stack, and deploy turnkey detection rules mapped to the MITRE ATT&CK framework with Datadog Security Monitoring.

Configuration Manager Default Client Settings

Mick's IT Blog

I just started building a completely new configuration manager server. While setting it up, I remembered that I wished in the past that I had all of the original default client settings because some did get changed.

Multiple Machine Logon Reporting

Mick's IT Blog

This tool is designed to report if a user profile has been logged into a defined number of machines or greater over a specified period of time.

Report 148

SCCM Client Installer for MDT

Mick's IT Blog

Recently, I wanted to revisit the process of installing the SCCM client during an MDT task sequence. At first, I tried to use the SCCM PowerShell module to initiate the install. I learned during testing that it does not work if a system is not present in SCCM.

System 170

Populate VMWare Virtual Systems to a ConfigMgr Collection

Mick's IT Blog

During the COVID19 pandemic, one of my projects has been to build a new configuration manager server at our newer production site for optimal performance.

Vmware 150

Optimize the Performance of Your Serverless Functions

Run mission-critical applications on serverless without sacrificing visibility.

Configuration Manager 1910 Upgrade Tips and Issues I Encountered

Mick's IT Blog

We have a new datacenter and the configuration manager server needed to be moved to that location. The setup of Configuration Manager is not too difficult. I did though run into several gotchas along the way. The first one was a warning that read 'configuration for SQL server memory usage'.

Preventing Windows 10 Apps from Reappearing after an In-Place or Feature Upgrade

Mick's IT Blog

In the imaging process I devised, most of the Windows 10 Built-In apps, such as mail and maps, are removed. My company uses the SAC edition of Windows 10 enterprise. This requires us to perform an in-place upgrade every 6 months.

ConfigMgr Pending Reboot Report

Mick's IT Blog

We wanted a list of servers that are waiting for a reboot. Thankfully, ConfigMgr has a pending restart field that allows admins to see when systems are waiting for a reboot. Our server team wanted that list to be automatically generated and emailed to them daily.

Report 142

Legacy Distribution Point Cleanup

Mick's IT Blog

This script will clean up the legacy items left over after a distribution point has been deleted in the configuration manager console. This is sometimes necessary if the same server is going to be used to re-push the distribution point back down to it.

130
130

Best Practices for Deploying & Scaling Embedded Analytics

Today, sophisticated capabilities such as adaptive security, predictive analytics, workflow, and writeback are taking analytics far beyond basic dashboards and reports. With cutting-edge capabilities like these, application teams are able to differentiate their products from the competition.

Microsoft Endpoint Manager Configuration Manager PowerShell Upgrade Script

Mick's IT Blog

With the advent of Microsoft Endpoint Manager Configuration Manager 1910, I started researching the upgrade requirements. I happened to run into a great blog post by fellow MVP Martin Bengtsson on what should be done before the upgrade takes place.

Backup 136

PowerShell One-Liner to Configure the NIC Power Management Settings

Mick's IT Blog

While working on a series of one-liners for configuring the NIC on machines, I created this needed to makes changes to the power management settings of the NIC. This is something that will be implemented in the build, so I also wanted to make the script into a one-liner so the code itself can reside within the task sequence. This one-liner can check/uncheck the boxes within the Power Management tab of the network adapter. There are two ways this can be done.

SCCM Pending Reboot Report

Mick's IT Blog

We wanted a list of servers that are waiting for a reboot. Thankfully, SCCM has a pending restart field that allows admins to see when systems are waiting for a reboot. Our server team wanted that list to be automatically generated and emailed to them daily. Other than myself, others that have the SCCM console rarely look at it since they wear many hats in IT. I could not find any PowerShell cmdlets in the SCCM module for viewing a pending restart.

Report 136

Install Configuration Manager PowerShell Module

Mick's IT Blog

I wanted to install the Configuration Manager PowerShell module on my admin machine. After investigating a little, the module does not exist in the Microsoft PowerShell gallery.

Product Design & Customer Experience: An Innovative View on Inclusive Product Development

Speaker: Dan Jenkins - Human Factors & Research Lead – DCA Design International

In this webinar, product design researcher Daniel Jenkins will teach you what it means to intentionally design a product that can be used by each and every user.