I am tracking notes on PowerShell in PS1 files on my git hub repository. You can see all 100 days of code entries on the blog category page.
I some how made it through chapter 9 today. It took me at least 4 hours. Not sure why it took me so long. Other than the content being confusing and not having access to one of the more important commands used in the chapter. If I had to stop and create a domain and add some PCs to the domain this would have taken a lot longer obviously. That and the lab questions can be confusing sometimes.
I think I need to take a little break from PS for a while. Do something else the rest of the day.
Chapter, maybe I should mention, was all about pipeline parameter binding.
As if that’s not clear enough from the name: it’s basically a way of passing information from cmdlet to another and working around any mis-matches between one cmdlet output versus another cmdlets’ input. ByValue being the default and easiest, ByPropertyName being the fall back.
Basically instead of passing text between commands down a pipeline parsing as you go as in BASH you’re passing object types down the pipeline. And sometimes a work around is necessary when you really want to pass the thing to the other thing.
That’s my understanding anyway. Like I said I’m only chapter 9.
Not sure I’m looking forward to chapter 10 and it’s all about formatting and formatting options.
Maybe I’ll just skim over portions of it and try and get the gist. It’s just hard to get excited about formatting output. Seems like something I could look up if I had to.