Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syntax

$cs..UsrMgr_DeleteLocalUserAccount(string userName)

Parameters

userName

Local user to delete - can be a SID.

Example

Code Block
languagepowershell
$cs.UsrMgr_DeleteLocalUserAccount('capauser')
or
$cs.UsrMgr_DeleteLocalUserAccount('S-1-5-21-3559337461-1037079836-4233830826-1109')

...