For details on the entire Microsoft FastTrack Open Source Initiative
The SMAT workbook generator is a tool that takes the output from Microsoft SMAT and tranforms it into a single wookbook. Originally this was done as part of our engagements with customers within the FastTrack program, but we are releasing it here as OSS as other might find it useful.
Please find the latest release, download, and unzip the file. It contains the smatwb.exe as well as supporting files and DLLS. You may need to "unblock" the files after downloading depending on your system settings.
This tool runs on the command line and takes several parameters as described below.
The -s argument takes the path to the root of the SMAT output. This is the folder containing the "SummaryReport.csv" file.
smatwb -s "c:\path\to\SMAT\output"
smatwb -s "c:\path\to\SMAT\output" -o "c:\path\to\write\workbook\"
smatwb -s "c:\path\to\SMAT\output" -t Simple
Param | Description | Default |
---|---|---|
-s | Source folder | none, required |
-o | Output folder | ./Workbook |
-t | Template Name | FastTrack |
-tp | Path to template | none |
The workbook is generated and written based on a template, which is a macro-enabled Microsoft Excel template (.xltm). Two templates are built into the solution: "FastTrack" and "Simple". The FastTrack template is the default and contains FastTrack formatting and branding. You can switch to the simple template using the -t Simple
argument.
If you would like to create and use your own template(s) you can download either of the existing templates and modify them as needed. Your custom template MUST 1) be an .xltm file and 2) have an empty tab named "Summary". You can add any other tabs, formatting, or code behind to your template. Note that if a tab already exists whose name collides with the name of a generated tab an error will be written to the log. Once your template is ready you can use the -tp "c:\path\to\my\temlate.xltm"
argument to use it in the import.
If you find issues or have suggestions for enhancements please submit an issue so we can respond and track it. Be sure to include enough information so we can understand what's happening - but also remember that the issues list is public so please don't include any PII or farm specific information when reporting an issue.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
Part of the Microsoft FastTrack Open Source Software initiative. For full details, please see https://github.com/microsoft/fasttrack.