r/PowerShell • u/adbertram • 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
1
u/adbertram Jul 24 '19
Got this updated. Thanks for the catch. Remove-CimInstance works. There used to be a Delete() method when invoking via Get-WmiObject.