Saturday, 29 June 2024

Software List - Inventory -WMIC Product

 Using the `wmic` command, you can create a comprehensive software inventory list. Here’s how to generate a detailed inventory of installed software on your Windows system:

### Steps to Create a Software Inventory List

1. **Open the Run Dialog**:
   - Press `Win + R` on your keyboard to open the Run dialog box.

2. **Open Command Prompt**:
   - Type `cmd` in the Run dialog box and press `Enter` to open the Command Prompt.

3. **Retrieve Software Inventory**:
   - In the Command Prompt window, type the following command and press `Enter`:
     ```shell

     wmic product get name, version, identifyingnumber, installdate, vendor
     ```


This command will retrieve and display a list of installed software products along with their names, versions, identifying numbers, installation dates, and vendors. The output will look something like this:

```
IdentifyingNumber                        InstallDate  Name                                    Version               Vendor
{23170F69-40C1-2702-0920-000001000000}                7-Zip 16.04 (x64 edition)                16.04                 Igor Pavlov
{1A15507D-1C14-4BA5-9C55-FF42ECF0A89C}                Adobe Acrobat Reader DC                  19.012.20040          Adobe Systems Incorporated
{4C930CC2-27F9-45C4-A487-BDBF151EECD4}                Google Chrome                            91.0.4472.124         Google LLC
...
```

### Save the Inventory to a File

To save the inventory list to a file for later review, you can redirect the output to a text file. Here’s how:

1. **Open Command Prompt**:
   - Follow the same steps as above to open the Command Prompt.

2. **Run the Command with Redirection**:
   - In the Command Prompt window, type the following command and press `Enter`:
     ```shell
     wmic product get name, version, identifyingnumber, installdate, vendor > C:\Path\To\Your\Folder\SoftwareInventory.txt
     ```

   Replace `C:\Path\To\Your\Folder\` with the actual path where you want to save the file. This command will create a file named `SoftwareInventory.txt` in the specified location containing the software inventory list.

### Example of the Command

```shell
wmic product get name, version, identifyingnumber, installdate, vendor > C:\Users\YourUsername\Documents\SoftwareInventory.txt
```

After running this command, you can open the `SoftwareInventory.txt` file in any text editor to view the detailed list of installed software.

This method provides a simple and effective way to audit and document the software installed on your Windows system.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home