Suoritettu

need a powershell script to remove SIDS from Adminstrators Group On Windows 10 Hybrid AD Joined Devices -- 2

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:

#Test if the SID exists

Get-LocalUser -S-1-12-1-3598938502-1280727568-3632501898-3897530764

Get-LocalUser -S-1-12-1-61017865-1125260692-820944550-834916098

#If SID exists, execute the following

if

( -eq $true)

{

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"

}

#If SID doesn't exist, write error message

Else

{

Write-Host "not found" | Write-Error

Exit

}

Write-Host "Configuration complete" -ForegroundColor Blue

Taidot: Powershell

Näytä lisää: need powershell script roaming profile, need to fix remote desktop connection on windows 10 pro, how do you remove a login password on windows 10?, how to run python script on windows 10, do i need java on windows 10, quick powershell script to check dns settings on all servers, powershell script to move files based on age, powershell script to find local administrators on workstations, powershell script to find local administrators on servers, powershell script to compare users group membership, do i need java on windows 10 2019, powershell script to run sql query on multiple servers, powershell script to run sql query on multiple databases, powershell script to stop multiple services on multiple servers, powershell script to list installed software on multiple computers, how to run php script on windows 10, powershell script to check service status on multiple servers and send email, powershell script to check disk space on multiple servers, powershell script to check disk space on multiple servers in excel, powershell script to check disk space on multiple servers and send email

Tietoa työnantajasta:
( 1 arvostelu ) MONROVIA, United States

Projektin tunnus: #31520836

Myönnetty käyttäjälle:

phicong333

Hello, I will provide script as your requirements. I understand your issue when device join to Azure AD the global admin and device admin will be added to local admin group automatically. We can sort it out by either Lisää

$25 USD 1 päivässä
(2 Arvostelua)
1.6

6 freelanceria on tarjonnut keskimäärin $44 tähän työhön

sachinparkhi17

PowerShell Expert.... Hey There, Greeting for the day.... I am Microsoft/VMware/Citrix and Azure Cloud Certified administrator with 12+ years of experience. I am very good in PowerShell scripting. I can prepared autom Lisää

$40 USD 1 päivässä
(24 arvostelua)
4.9
AhmadSameer

Hey there, I had developed tons of PowerShell scripts. I checked your project details. Why did you include some Pseudo code? Are these included SIDs the only ones you want to remove? Regards!

$100 USD 7 päivässä
(10 arvostelua)
4.5
hieuhoang117

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 Lisää

$27 USD 3 päivässä
(11 arvostelua)
3.8
archanakadian24

Hello Dear, I m working as subject matter expert and have 12 years of experience on powershell, Windows administration and VMware Virtualization. please let me know if I can be your help..thx

$45 USD 2 päivässä
(0 arvostelua)
0.0
(1 arvostelu)
0.0