powershell delete user from the given site code example Example: powershell delete local user PS C:\> Remove-LocalUser -Name "AdminContoso02"