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/adhdasf23423 Jul 25 '19

Ok it doesn't suck, but you're suggesting replacing a 1 line script with... another 1 line script.