powershell delete local user

C++
PS C:\> Remove-LocalUser -Name "AdminContoso02"
Source

Also in C++: