20
How did you learn linux?
(lemmygrad.ml)
A Community for all leftists wanting to join and being part of a community that talks about Linux, Unix and the Free Software Community
CMD is a toy if you ask me. Basically, there are very few options for customization regarding it, not to mention group policies, things that are really needed in production environments, like AD... nope, no tools to export "just this policy", you export the whole thing, then you filter things out (you don't actually export only one thing you need, nope, you have to filter/delete everything out and just leave that one thing you DO need in there, lol ๐), and then you import it back again... I mean, WTF ๐.
Ah, but we have PowerShell for that... yeah, right, as if I'm gonna learn your whole complex C# based syntax that just doesn't make sense most of the time (this is done like this, but this other thing, that is very similar to this one, nope, that is done completely different ๐ค) just so that I can export and tweak this one policy I need to automate loading on new installs. And why am I even doing this? Because apparently, AD can't handle that. Why? MS doesn't seem to be interested in implementing that as a group policy across AD, just locally with no global control over it... go figure ๐คท.
So I just use the quick and dirty approach regarding stuff like that. See what reg entries the policy changes, make a cmd script that does those changes via regadd, load that script as runonce in AD, done. Mind you, this doesnct actually reflect what is done in gpedit, it just loads the settings without gpedit ever knowing about that. Such BS, I hate it ๐.