Get-Command [G]et-CallerPreference -CommandType Function -Module PreferenceVariables
I have never seen a function called like this, what does it mean to say [G]et-CallerPreference what do the square brackets do here, what’s the behavior of this and how is this syntax called?
You’re saying that we can regex almost any command instead of explicitly stating which command to run?
Now that’s interesting, I wonder if there is official powershell documentation of this, not because I don’t believe you but because this is so unusual for a programing language.