Weekly Tip 37

Remove Administrative Users from SCCM

import-module “C:\Program Files (x86)\ConfigMgr\bin\ConfigurationManager.psd1”

cd <site code>:

$users = (Get-CMAdministrativeUser | Where-Object -FilterScript {$_.logonname -like “<user/group name”}).LogonName

ForEach ($user in $users) {

Remove-CMAdministrativeUser -name $user -force

write-host “removed $user” }

Be sure to put in your site code on line 2, and give line 4 a user or group name to remove. This is set up with a “like”, so if there’s a naming scheme, you can remove batch users at one time.

Share:

Facebook
Twitter
LinkedIn

Contact Us

Name
=
On Key

More Posts

WME Microsoft 365 Updates No. 025
Azure

WME Microsoft 365/Azure Updates 22 August 2025

1. Exchange Online: Temporary Mailbox Access Disruption via MAPI Overview Some Exchange Online users experienced mailbox access issues via the Messaging API (MAPI) on August 20, 2025. The disruption occurred after Microsoft reverted a recent service

Read More »
WME Microsoft 365 Updates No. 023
Azure

WME Microsoft 365/Azure Updates 08 August 2025

1. Final Countdown for Windows 11 Version 22H2 Enterprise & Education Overview Windows 11, version 22H2 (Enterprise, Education, and IoT Enterprise editions) is going to reach end of the servicing on October 14, 2025. The October

Read More »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.

=