Remover/desativar contas locais exceto o Administrador

Gustavo Lorenzett 126 Reputation points

Galera, preciso de ajuda.

Qual seria o comando em powershell para remover ou desativar todas as contas locais, mas quero manter ativa somente a Administrador.
Poderiam me ajudar?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,521 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.2K Reputation points MVP

    Q&A forums are currently English only. I'd try asking for help over here in dedicated forums.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

0 additional answers

Sort by: Most helpful