When I do a ... | Format-List one of the properties is Path.
When I do a ... | Format-List * the Path property is missing.
Why?
[DBG]: PS C:\Directory>> $MyInvocation.MyCommand | Format-List
Name :
CommandType : Script
Definition : $MyInvocation.MyCommand | Format-List
Path :
[DBG]: PS C:\Directory>> $MyInvocation.MyCommand | Format-List *
HelpUri :
ScriptBlock : $MyInvocation.MyCommand | Format-List *
Definition : $MyInvocation.MyCommand | Format-List *
OutputType : {}
Name :
CommandType : Script
Visibility : Public
ModuleName :
Module :
RemotingCapability : PowerShell
Parameters :
ParameterSets : {}