Similarly, you can create a PowerShell script to perform the same task:
``` lusrmgr /user delete /name:<username> lsusrmgr