# A Crowd isn't an Individual

A very common newcomer mistake:

![image067.png](https://4171205829-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LA8qNDXlOx79WorVawZ%2F-LA8qTOf8jN0CwdQbcQM%2F-LA8qUbtBp4gzC2zdIpP%2Fimage067.png?generation=1523804932159308\&alt=media)

Here, the person is treating everything like it contains only one value. But $computername might contain multiple computer names (that's what \[string\[]] means), meaning $bios and $os will contain multiple items too. You'll often have to enumerate those to get this working right:

![image069.png](https://4171205829-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LA8qNDXlOx79WorVawZ%2F-LA8qTOf8jN0CwdQbcQM%2F-LA8qUc9XgAbGPVNNDCE%2Fimage069.png?generation=1523804939372629\&alt=media)

Folks will run into this even in simple situations. For example:

![image071.png](https://4171205829-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LA8qNDXlOx79WorVawZ%2F-LA8qTOf8jN0CwdQbcQM%2F-LA8qUcOkW8aVxf0KVmt%2Fimage071.png?generation=1523804930325862\&alt=media)

PowerShell v2 won't react so nicely; in v3, the variable inside double quotes is $procs, and since that variable contains multiple objects, PowerShell implicitly enumerates them and looks for a Name property. You'll notice ".name" from the original string appended to the end - PowerShell didn't do anything with that.

You'd probably want to enumerate these:

![image073.png](https://4171205829-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LA8qNDXlOx79WorVawZ%2F-LA8qTOf8jN0CwdQbcQM%2F-LA8qUck4cBffD-V11aN%2Fimage073.png?generation=1523804938112081\&alt=media)
