(powershell) Select-String vs Findstr
<p>This is very simple... why first command working and second no?</p>

<p>Findstr looks to me for best use in "dos"like commands and not in powershell.</p>

<pre><code>Get-AppXProvisionedPackage -online | findstr ^DisplayName

Get-AppXProvisionedPackage -online | Select-String -pattern "DisplayName"
</code></pre>

<p>powershell newbie :)</p>