Although most windows power shell commands produce just one kind of object some commands are capable
of producing multiple kinds of objects for example get child diatom does pass for instance c call on
backslash windows pipe get mamber this command produces two kinds of objects filing for and directory
info.
It does so because a single directory listing can include both files and folders or directories.
Commands that produce multiple kinds of objects can be more difficult to work with and require extra
thought from you.
For example a file in four object has allows property that contains the file size in bytes a directory
and for object does not have a corresponding property.
If you write in a command line that first run get child item or one of its aliases such as dir or ls
and then try to filter the output based on the Lan's property.
You might not obtain the results that you expected because directory and Forbes looks like the property.
Always be careful when the pipeline contains multiple kinds of objects.
Please know that if you pipe multiple kinds of objects to get mamber the command will display the members
foreach kind of object separately.
For example I can get event lock to get mamber can produce a large amount of output because each kind
of event lock and is seen by GET member at a different kind of object.