If you want to delete a target account, you’ll need to use theDeleteTargetAccount cmdlet. This cmdlet is available in the Windows PowerShell environment. To delete a target account, you’ll need to provide two parameters: the name of the account and the password. To delete a target account using Windows PowerShell:

  1. Type “delete-targetaccount” in the Windows PowerShell prompt.
  2. The DeleteTargetAccount cmdlet will be executed and will remove all of the data associated with that target account.