Hi mate,
Easier to do it here.
This is the part that doesn’t make sense to me. In section 3.5.2 it says:
What if you try to run a command and forget one of the mandatory parameters? Take a look at the help for Get-EventLog, for example, and you’ll see that the -LogName parameter is mandatory—the parameter isn’t enclosed in square brackets. Try running Get-EventLog without specifying a log name.
But -LogFile IS enclosed in brackets. I know further down the page it goes on explaining positional parameters but as I’m reading the book in sequence and making sure I understand every paragraph until I move onto the next one I struggled with that statement.
Does that make sense?
Great book by the way so far