$cs.UsrMgr\_DeleteLocalUserAccount
Syntax
Section titled “Syntax”$cs..UsrMgr_DeleteLocalUserAccount(string userName)
Parameters
Section titled “Parameters”userName
Local user to delete - can be a SID.
Example
Section titled “Example”$cs.UsrMgr_DeleteLocalUserAccount('capauser')or$cs.UsrMgr_DeleteLocalUserAccount('S-1-5-21-3559337461-1037079836-4233830826-1109')returns nothing