Loading...

Powershell Tool : List and export computer servicies, hotfixes, software, drivers



When you prepare a master, it's important to have an overview of the computer configuration after the deployment. 

That's why I created a little tool which list below parameters and export to xls (if Office is detected), csv, html and xml format :

  • Services (Name - Status - Start mode)
  • Drivers (Name - Version)
  • Hotfix (Name - Description)
  • Software (Name - Version)
  • Process (Name - Commandline)



I created this tool using Powershell Studio.


How it works ?

  1. It will create a folder called "export-config" on your Desktop
  2. It will create two folder called "XML" "XLS", "CSV", "HTML" and "LOGS" in the folder "Export-config
  3. It will copy the folder "c:\Windows\Logs" to "Export-config\LOGS"
  4. It will export the list of Hotfixes, Software, Drivers, Process and Services to "Export-config\XML"
  5. It will export the list of Hotfixes, Software, Drivers, Process and Services to "Export-config\CSV"
  6. It will export the list of Hotfixes, Software, Drivers, Process and Services to "Export-config\XLS"
  7. It will format CSV files to XLS files for a pretty view.
  8. It will export the list of Hotfixes, Software, Drivers, Process and Services to "Export-config\HTML"

Export-config folder overview

HTML services export overview

XLS services export overview



How to use it ?
  1. Run "Export my config.exe"
  2. A window will be displayed with a progressbar
  3. When the progress bar has reach 100%, close the tool.
  4. Open the "Export-Config" folder to see the export


I'm currently working on a new version which allows you to export to .xlsx or .xml and which also allows you to compare two xlsx or xml.




Windows 7 1618543930086809332

Publier un commentaire

5 commentaires

Unknown a dit…

Very nice tool. Thanks for sharing!

Damien Van Robaeys a dit…

Thanks Brian
Hoping it will be useful to you.

Fred a dit…

Cool :)
When you don't have Excel installed, the XLS folder is empty.

2 questions:
- It it possible to launch it with parameters just to have only HTLM or CSV ?

- Is it possible to launch it at the end of a Task sequence (MDT or SCCM) ?

Damien Van Robaeys a dit…

Hi Fred,
Indeed with the tool, if Microsoft Office isn't detected CSV exports won't be formatted to XLS.

Concerning your question :

- For the moment there are no parameters configured, but I'll work on it.

- Indeed I think it would be possible to launch it by launching the ps1 as in my previous post : Launch a ps1 without changing the executionpolicy rules.

Damien Van Robaeys a dit…

Hi Fred,

Concerning your remarks, I have created a new ps1 file with which you can luanch just HTML, CSV or XML export.

Run "Export my config" and choose your output format.

Accueil item

Award

Mes articles en français

Author of Books

PowerShell GUI & WPF Group

PowerShell GUI & WPF Group

Join the FPSUGR

Join the FPSUGR

Stats