Further defined command

This commit is contained in:
capntack 2023-04-10 19:20:04 -05:00
commit d9afee123f

View file

@ -12,7 +12,7 @@ Get-WmiObject win32_product -ComputerName $ComputerName | Sort-Object | select V
<br>
### Remotely Fetch Installed Programs with $SearchTerm in them from $ComputerName sorted by $Column (Vendor, Name, or version)
### Remotely Fetch Installed Programs from $ComputerName by searching $Column (Vendor, Name, or version) for $SearchTerm
```powershell
Get-WmiObject win32_product -ComputerName $ComputerName | Where-Object {$_.$Column -like “*$SearchTerm*”} | Sort-Object | select Vendor, Name, version