r/PowerShell • • Jul 23 '19

Use PowerShell delete a user profile (step-by-step guide)

https://adamtheautomator.com/powershell-delete-user-profile/?utm_source=reddit&utm_medium=social&utm_campaign=newblogpostnotifications
120 Upvotes

59 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Jul 24 '19

Why make things needlessly complex with a long script?

4

u/adbertram Jul 24 '19

One line of PowerShell isn’t a long script.

0

u/[deleted] Jul 24 '19

Sure if you are just deleting one profile

1

u/adbertram Jul 24 '19

It honestly would still be only 1-2 lines with PowerShell. You'd simply not limit it to just one like I did.