question

anthonydavis-5715 avatar image
0 Votes"
anthonydavis-5715 asked LimitlessTechnology-2700 answered

Remove User Account

Hello Forum,

Can someone guide me on a PowerShell script that can delete the follow user accounts from these two locations:

Local Machine
C:\Users

Thanks
Tony

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MotoX80 avatar image
0 Votes"
MotoX80 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello Anthony D,

Could you be more specific?

Initially to remove a local account would be with a simple:

Remove-LocalUser -Name "yourusername"



As always if you have any questions please don't hesitate to contact us.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.