As a beginner to writing scripts with PowerShell, you won't learn the concept of a function until later. Newbies typically learn about PowerShell functions after they've learned what the pipeline is, ...
I need to stick all these little snippets into one big function script and call that script at the start of all my other scripts. NO. Why would you do this? Just use a damn module. Rename your "one ...