neuecc/RespClient — pull request #6 by guitarrapc (2014-09-02 14:58:25+00:00)
Title: add comment. Add Get-RedisInfo Cmdlet to retrieve info result as KV Object.

@neuecc
Will you please check this commit?

This enable user to retrieve ```info``` and ```info all``` as KeyValuePair.
As PowerShell will requires to pass object to pipeline and next cmdlet will do ```where``` or ``` foreach```, Dictionary (not enumerated) is not preferred. Therefore I enumerated to the KVPair.

- Usage

```PowerShell
Get-RedisInfo | where Key -eq os
```

this returns something like this.

```text
Linux 3.10.35-43.137.amzn1.x86_64 x86_64
```

Also even value have kv string, like ```keys=16,expires=9``` this cmdlet parse it to KVPair.

- sample data

```
Key Value
--- -----
db0 {[keys, 16], [expires, 0]}
```

- Usage

```Powershell
Get-RedisInfo | where Key -eq db0 | select -ExpandProperty Value
```

result.

```
Key Value
--- -----
keys 16
expires 0
```