Loading...

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

5 A+ A-


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

Enregistrer un commentaire

  1. Very nice tool. Thanks for sharing!

    RépondreSupprimer
  2. 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) ?

    RépondreSupprimer
  3. 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.

    RépondreSupprimer
  4. 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.

    RépondreSupprimer

Accueil item