Powershell Tool : List and export computer servicies, hotfixes, software, drivers
https://www.systanddeploy.com/2014/07/powershell-tool-export-my-config-list.html
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 ?
- It will create a folder called "export-config" on your Desktop
- It will create two folder called "XML" "XLS", "CSV", "HTML" and "LOGS" in the folder "Export-config"
- It will copy the folder "c:\Windows\Logs" to "Export-config\LOGS"
- It will export the list of Hotfixes, Software, Drivers, Process and Services to "Export-config\XML"
- It will export the list of Hotfixes, Software, Drivers, Process and Services to "Export-config\CSV"
- It will export the list of Hotfixes, Software, Drivers, Process and Services to "Export-config\XLS"
- It will format CSV files to XLS files for a pretty view.
- It will export the list of Hotfixes, Software, Drivers, Process and Services to "Export-config\HTML"
Export-config folder overview |
|
XLS services export overview |
How to use it ?
- Run "Export my config.exe"
- A window will be displayed with a progressbar
- When the progress bar has reach 100%, close the tool.
- 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.
5 commentaires
Very nice tool. Thanks for sharing!
Thanks Brian
Hoping it will be useful to you.
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) ?
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.
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.
Enregistrer un commentaire