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.




Share this

Related Posts

Previous
Next Post »

5 commentaires

commentaires
31 juillet 2014 à 16:37 delete

Very nice tool. Thanks for sharing!

Reply
avatar
31 juillet 2014 à 17:24 delete

Thanks Brian
Hoping it will be useful to you.

Reply
avatar
31 juillet 2014 à 22:04 delete

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) ?

Reply
avatar
4 août 2014 à 09:21 delete

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.

Reply
avatar
11 août 2014 à 15:57 delete

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.

Reply
avatar