Edited and added commands

This commit is contained in:
capntack 2023-04-10 19:15:53 -05:00
commit f93ffa5c9d

View file

@ -5,7 +5,13 @@ Note: unless otherwise stated, replace any variable such as `$ComputerName` with
### Remotely Fetch a (Partial) Installed Program List for $ComputerName
```powershell
Get-WmiObject win32_product -ComputerName $ComputerName | select Name, version
Get-WmiObject win32_product -ComputerName $ComputerName | Sort-Object | select Vendor, Name, version
```
### Remotely Fetch Installed Programs with $SearchTerm in them from $ComputerName
```powershell
Get-WmiObject win32_product -ComputerName $ComputerName | Where-Object {$_.$Column -like “*$SearchTerm*”} | Sort-Object | select Vendor, Name, version
```
<br>