Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Powershell 5.x
- Invoke-Command -ComputerName Computer1, Computer2, ComputerX { Remove-LocalUser -Confirm:$false localUserName }
- # Use net use when PS 5.x isn't available
- Invoke-Command -ComputerName Computer1, Computer2, ComputerX { net user localUserName /delete }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement