SlideShare una empresa de Scribd logo
1 de 14
HOWTO: Script to List Installed Software on
Multiple Computers
© Action1 Corporation. All rights reserved.
Creating a script to list of installed software on multiple
computers is the first important step in implementing
centralized software inventory for your network. Also, this
method of building a list of installed programs in the system
can be useful before reinstalling the system when you need to
find unwanted software. Information about installed
applications should include product name, vendor, version,
install path and some other data. This guide describes how to
create a script to list installed software on multiple computers
and save the list of installed programs to CSV file. action1.com
1. Execute WMI Query in ROOTCIMV2 Namespace:
- Launch WMI Explorer or any other tool which can run WMI
queries.
- Run WMI query: SELECT * FROM Win32_Product
2. Open WMIC Command-line Interface:
- Press WIN+R
- Type "wmic", press Enter
- In wmic command line tool
type: /node:RemoteComputerName product
action1.com
Manually:
3. Run This Simple Windows Powershell Script:
- thru WMI object: Get-WmiObject -Namespace ROOTCIMV2
- Class Win32_Product -Computer RemoteComputerName
- thru Windows Registry: Get-ItemProperty
HKLM:SoftwareWow6432NodeMicrosoftWindowsCurrentV
ersionUninstall* | Select-Object DisplayName, DisplayVersion,
Publisher, InstallDate
- thru Get-RemoteProgram cmdlet: Get-RemoteProgram -
ComputerName RemoteComputerName
action1.com
Manually:
4. Use Following Code to Select Specific Columns:
- execute: Get-WmiObject -Namespace ROOTCIMV2 -Class
Win32_Product -Computer RemoteComputerName | Select-
Object Name, Version, PSComputerName
5. Sort the Results Using the Line Below:
- invoke command: Get-WmiObject -Namespace ROOTCIMV2
-Class Win32_Product -Computer RemoteComputerName |
Select-Object Name, Version, PSComputerName | Sort-Object
Name
action1.com
Manually:
6. The Next Code Helps to Filter Results:
- use it: Get-WmiObject -Namespace ROOTCIMV2 -Class
Win32_Product -Computer RemoteComputerName | Select-
Object Name, Version, PSComputerName | Where-Object -
FilterScript {$_.Name -like "Microsoft*"}
7. Save Results to CSV File:
- run: Get-WmiObject -Namespace ROOTCIMV2 -Class
Win32_Product -Computer RemoteComputerName | Select-
Object Name, Version, PSComputerName | Export-CSV
"c:file.csv" -Append -NoTypeInformation
action1.com
Manually:
8. The Next Step Is to Query Multiple Computers:
- computers from a text file: Get-Content -Path c:computers.txt
| ForEach-Object {Get-WmiObject -Namespace ROOTCIMV2 -
Class Win32_Product -Computer $_}
- computers from AD domain: Get-ADComputer -Filter
{OperatingSystem -Like “Windows 10*”} | ForEach-Object {Get-
WmiObject -Namespace ROOTCIMV2 -Class Win32_Product -
Computer $_.Name}
action1.com
Manually:
Step 1 - Sign-up for Free:
action1.com
With Action1 :
Step 2 - Type Your Question in Plain English:
action1.com
With Action1 :
Step 3 - Set Filters, If Necessary:
action1.com
With Action1 :
Step 4 - See Results from All Endpoints in Seconds:
action1.com
With Action1 :
Other Relevant HOWTOs:
action1.com
How to Change the Time Zone in CMD Windows 10
Free Tool: Applied Group Policies (RSOP)
Free Tool: Desktop Configuration Management
Free Tool: Event Log Records
Free Tool: Patch Management App
Sign Up for Action1
• Instant sign-up
• No phone calls to activate
• Quick configuration
Go to action1.com/free
Free Help
• Call 1-346-444-8530
• action1.com/contact_us.html
• Free technical support
action1.com

Más contenido relacionado

Último

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Destacado

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
 

Destacado (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

HOWTO: Script to List Installed Software on Multiple Computers

  • 1. HOWTO: Script to List Installed Software on Multiple Computers © Action1 Corporation. All rights reserved.
  • 2. Creating a script to list of installed software on multiple computers is the first important step in implementing centralized software inventory for your network. Also, this method of building a list of installed programs in the system can be useful before reinstalling the system when you need to find unwanted software. Information about installed applications should include product name, vendor, version, install path and some other data. This guide describes how to create a script to list installed software on multiple computers and save the list of installed programs to CSV file. action1.com
  • 3. 1. Execute WMI Query in ROOTCIMV2 Namespace: - Launch WMI Explorer or any other tool which can run WMI queries. - Run WMI query: SELECT * FROM Win32_Product 2. Open WMIC Command-line Interface: - Press WIN+R - Type "wmic", press Enter - In wmic command line tool type: /node:RemoteComputerName product action1.com Manually:
  • 4. 3. Run This Simple Windows Powershell Script: - thru WMI object: Get-WmiObject -Namespace ROOTCIMV2 - Class Win32_Product -Computer RemoteComputerName - thru Windows Registry: Get-ItemProperty HKLM:SoftwareWow6432NodeMicrosoftWindowsCurrentV ersionUninstall* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate - thru Get-RemoteProgram cmdlet: Get-RemoteProgram - ComputerName RemoteComputerName action1.com Manually:
  • 5. 4. Use Following Code to Select Specific Columns: - execute: Get-WmiObject -Namespace ROOTCIMV2 -Class Win32_Product -Computer RemoteComputerName | Select- Object Name, Version, PSComputerName 5. Sort the Results Using the Line Below: - invoke command: Get-WmiObject -Namespace ROOTCIMV2 -Class Win32_Product -Computer RemoteComputerName | Select-Object Name, Version, PSComputerName | Sort-Object Name action1.com Manually:
  • 6. 6. The Next Code Helps to Filter Results: - use it: Get-WmiObject -Namespace ROOTCIMV2 -Class Win32_Product -Computer RemoteComputerName | Select- Object Name, Version, PSComputerName | Where-Object - FilterScript {$_.Name -like "Microsoft*"} 7. Save Results to CSV File: - run: Get-WmiObject -Namespace ROOTCIMV2 -Class Win32_Product -Computer RemoteComputerName | Select- Object Name, Version, PSComputerName | Export-CSV "c:file.csv" -Append -NoTypeInformation action1.com Manually:
  • 7. 8. The Next Step Is to Query Multiple Computers: - computers from a text file: Get-Content -Path c:computers.txt | ForEach-Object {Get-WmiObject -Namespace ROOTCIMV2 - Class Win32_Product -Computer $_} - computers from AD domain: Get-ADComputer -Filter {OperatingSystem -Like “Windows 10*”} | ForEach-Object {Get- WmiObject -Namespace ROOTCIMV2 -Class Win32_Product - Computer $_.Name} action1.com Manually:
  • 8. Step 1 - Sign-up for Free: action1.com With Action1 :
  • 9. Step 2 - Type Your Question in Plain English: action1.com With Action1 :
  • 10. Step 3 - Set Filters, If Necessary: action1.com With Action1 :
  • 11. Step 4 - See Results from All Endpoints in Seconds: action1.com With Action1 :
  • 12. Other Relevant HOWTOs: action1.com How to Change the Time Zone in CMD Windows 10 Free Tool: Applied Group Policies (RSOP) Free Tool: Desktop Configuration Management Free Tool: Event Log Records Free Tool: Patch Management App
  • 13. Sign Up for Action1 • Instant sign-up • No phone calls to activate • Quick configuration Go to action1.com/free
  • 14. Free Help • Call 1-346-444-8530 • action1.com/contact_us.html • Free technical support action1.com

Notas del editor

  1. Introducing Action One. Cloud-based endpoint security management.
  2. To get started, just go to Action One dot com slash free, enter your email, confirm it and you are in. Basic configuration takes only a few minutes.
  3. Feel free to call us or contact via Action One dot com. We can you help you to get started at absolutely no cost to you.