Further defined command

main
capntack 2 years ago
parent 5335dd8748
commit d9afee123f

@ -12,7 +12,7 @@ Get-WmiObject win32_product -ComputerName $ComputerName | Sort-Object | select V
<br> <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 ```powershell
Get-WmiObject win32_product -ComputerName $ComputerName | Where-Object {$_.$Column -like “*$SearchTerm*”} | Sort-Object | select Vendor, Name, version Get-WmiObject win32_product -ComputerName $ComputerName | Where-Object {$_.$Column -like “*$SearchTerm*”} | Sort-Object | select Vendor, Name, version

Loading…
Cancel
Save