need a powershell script to remove SIDS from Adminstrators Group On Windows 10 Hybrid AD Joined Devices
$10-30 USD
Paid on delivery
I have an open issue w/ MSFT; I have AutoPilot devices w/ Global Admins and Device Admins in the Administrators Group on Windows 10 Devices. I have to remove these SIDS.
Pseudo Code:
If
Get-LocalUser -S-1-12-1-3598938502-1280727568-3632501898-3897530764
Get-LocalUser -S-1-12-1-61017865-1125260692-820944550-834916098
True
Then
Remove-LocalGroupMember -Group "Administrators" -Member "S-1-12-1-3598938502-1280727568-3632501898-3897530764"
Remove-LocalGroupMember -Group "Administrators" -Member "S-1-12-1-61017865-1125260692-820944550-834916098"
Write out removed
Else Write out not found
Project ID: #31509696
About the project
Awarded to:
Hello, I'm HieuHoang, a System Admin. I have 3-years of experience working with Powershell script relate Windows, Active directory, Office 365, AzureAD. I think I can help you complete it soon. Please consider and con More
2 freelancers are bidding on average $28 for this job
I am a professional PowerShell script developer and have knowledge of windows environment. Active Directory is something that I have been working since a long time now.