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

2

u/halbaradkenafin Jul 24 '19

The problem I've got with GPO is that it's not very visible. If I want to find out how a node is configured I have to run RSOP or other tools, and tracking down where things are configured is a pain. DSC has the advantage that everything is in code, so it's all in source control, I can control how I roll out changes and updates a lot easier using a pipeline to a pull server, I can use Pester to test it in an easier way than GPO.

GPO certainly still has a place but I'd be moving most of my general machine settings over to DSC, your user specific settings aren't as manageable by DSC so they are best off staying configured by GPO.