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

4

u/[deleted] Jul 24 '19

GP is like a shotgun that can double as a rifle. PS is more like a snipper rifle that can (sometimes) double as a shotgun.

4

u/billy_teats Jul 24 '19

A shotgun is not going to hit every single bird in a flock. PS will for sure.

GP hunts. It’s going to find you and get you. Just like everyone else. If you’re around when PS goes off though, ain’t nothin you can do to stop it

0

u/vibrants Jul 24 '19

Disable WinRM

2

u/billy_teats Jul 24 '19

Remove your computer from the domain. Unplug it.

There’s ways around everything