title: Powershell output in json format
body: <p>I need to get the details of a particular software for eg: Chrome in json format.<br />
  The below command shows output of all the softwares in Json format.</p>
  <pre><code>Get-WmiObject -Class Win32_Product | select-object name,version,vendor,InstallDate,InstallLocation | ConvertTo-Json
  </code></pre>
  <p>But I need to grep only for chrome. I get the output as below, but it is not in json format.</p>
  <pre><code>Get-WmiObject -Class Win32_Product | select-object name,version,vendor,InstallDate | Select-String 'Chrome'
  
  @{name=Google Chrome; version=60.0.3xxx; vendor=Google, Inc.; InstallDate=20180909}
  </code></pre>
  <p>Is there any command for this?</p>