Chap 15 MonthofLunches Question

rated by 0 users
This post has 1 Reply | 0 Followers

Not Ranked
Posts 5
SdeDot Posted: 03-27-2012 8:31 AM

Hi Don,

On page 175 in the 2nd paragraph, you state 'The variable itself has a property that lets you see how many objects are in it:'

PS C:\> $computers.count <enter>


When I do a PS C:\> $computer | gm <enter>, I do not see the count property displayed.  Why?

Thanks in advance.

Top 10 Contributor
Posts 640

It's actually some PowerShell trickery. Also, GM is showing the CONTENTSnof the variable not the variable itself.

Page 1 of 1 (2 items) | RSS
Copyright 2012 All rights reserved.