Hi Cody,
Thanks for your post. You can try the following command
Get-LocalGroupMember -Group "Administrators" | Where-Object {$_.name -eq "Company\Domain Admins" } | Remove-LocalGroupMember -Group "Administrators"
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.