Once packages are exported and off-boarded from the your KACE Systems Management Appliance (SMA/K1000) or Systems Deployment Appliance (SDA/K2000), it can be difficult identifying or finding a particular package unless you made sure to document the files. They can be even harder to find if the exported item was already removed from the SDA, or in a disaster recovery scenario where you only want to import packages that you need right away.
This script will gather identifying information from all of the exported SMA and SDA packages in a specified folder and deliver the information in HTML format.
Please bear in mind that it will not work if you have only PKG files from your SDA, as it reads the data from the XML files that are exported with those PKG files. With SMA exports, it will extract the XML file from the KPKG and then keep it stored for faster reading the next time the report is run.
You can download the script here. *Note: you must be a member of the K2000 ITNinja Community to download this file.
Feedback is very welcome, please let me know what you think or if it helps you.
-Added default report name when browsing
-Added support for WIM and ASR PKG types
-Rebranded with new KACE logo and Quest colors
-Fixed a bug that kept the script from running unless you had .kpkg files in your target directory
-Added gui progress bar while waiting for kpkgs to extract
-Added code from Corey Serrins that would extract XML information from a K1000 .kpkg and allow us to report from it
-Fixed issue with x64 systems not closing GUI properly when script was finished
-Changed behavior so that the final report opens in the default web browser instead of opening in Internet Explorer
-Added the ability to check for K1000 package xmls and display them in the report.
-Added check to ensure that there were K1 or K2 package .xmls in a directory before continuing with the report
-First public release
-Added check to skip .XML files not generated from the K2000
-Kept the GUI up with previous values if there was an issue with the package directory specified rather than exiting.
-Added checks to make sure that the target package directory existed and contained .XML files
-Added the ability to create the destination directory for the report if it did not already exist
-Added the ability to sort the table based on File Name, Title, or Type
-Corrected an issue where Scripted Install files were showing as Postinstall Tasks
-Added a graphical window to run through the process
-Added a message if you tried to start the report without specifying both the target package directory and report destination
-Generated a stylized html table with the package results
-Listed the date generated and the source package directory in the report
-Generated a plain .html table instead of a .CSV
-Added the ability to browse for the directory that the packages were contained in
-Added the ability to save the .CSV report with a custom name and location
-Added in a .CSV header
-Generated a .CSV report