Here’s what eventually worked for me:
action uses wow64 redirection {not x64 of operating system}
waithidden powershell -ExecutionPolicy Bypass -command “Get-LocalGroupMember administrators | where {{$_.Name -notlike ‘* admins*’} | Remove-LocalGroupMember administrators”
Combo of redirection and single quotes around ‘* admins*’