How do I go about this? Are there any free resources that’ll help me get started?
I see people advising to start with a small project, but you need to get some basics down right? What language? How to develop it and stuff?
My only experience is some very basic C programming classes I took during school.
As I developed my script, I also began learning to properly “function-ize” my code to make things more readable/usable
I also started with Powershell, and not by reading guides/books. I got pretty good with using the pipeline, loops, etc. but my code was terrible soup with no re-usability. Later I learned JavaScript and realized how important it is to think about functions first when writing scripts. Makes everything easier and smoother.
Yeah, it definitely helps to plan things out ahead of time, but I’ve had decent luck with refactoring a code block into a function to reuse code or cleanup sections. But I definitely try to make it into a function first when I can since it’s less work than going back and fixing stuff, but sometimes a simple code block blows up or you need to reuse it later.