Variables are important for the creation of good scripts. A variable is like a placeholder, and every kind of object and type can be stored in that variable. You can save data that is often used within a script in it or you can make calculations with it. You can forward variables containing data to functions, to make changes or output with them. Variables are the heart of every good script, cmdlet, function, and module. We will get into these topics in the next chapters. A good tip is to always learn the best practices for writing code as soon as possible. Therefore, I will introduce you to the best practices with each new topic.
Some of the basics that you should be aware of are the four capitalization variations:
- lowercase: All letters lowercase, no word separation
- UPPERCASE: All letters capitals, no word separation
- PascalCase: Capitalize the first letter of...