# A Crowd isn't an Individual

A very common newcomer mistake:

![image067.png](/files/-LA8qUbtBp4gzC2zdIpP)

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](/files/-LA8qUc9XgAbGPVNNDCE)

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

![image071.png](/files/-LA8qUcOkW8aVxf0KVmt)

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](/files/-LA8qUck4cBffD-V11aN)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://devops-collective-inc.gitbook.io/the-big-book-of-powershell-gotchas/a-crowd-isnt-an-individual.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
