Installable Package of Sample ADK Assessment Scripts
(everything here is XML or a script, including installer)

To install, right click setup.cmd and run as administrator
To uninstall, choose "Assessment and Deployment Kit Samples" from the Add/Remove Programs Control Panel


API Documentation: http://msdn.microsoft.com/en-us/library/windows/desktop/hh437709.aspx


Assessments:

Delay (misc\delay.asmtx) - A simple assessment that can add a sleep or delay before other assessments.
Simple manifest only with 1 parameter and 0 metrics, which uses PowerShell command line only (no script) to sleep for specified seconds.

Environment Variables (misc\axeenv.asmtx) - Dumps all the system environment variables in the context of a running assessment.
CMD script which generates Test Case style metrics of system environment variables available during execution.

Ping (pingtest\pingtest.asmtx) - Runs ping and reports the number of echo requests sent and lost.
Couple CMD scripts which generates 3 simple metrics using the existing tool ping.exe.

Restart Computer (misc\axerestart.asmtx) - Performs a restart which can be used between assessments to ensure a clean state.
Uses PowerShell to load the managed Axe runtime APIs to perform a planned reboot, calculates 1 metric after reboot (total duration); uses temp folder to track start time and reboot index to know when finished.

Run Information (transform\EcoSysInfo.asmtx) - Converts system information gathered during the run of a job into metrics that can be displayed as results.
Complicated metric manifest which displays run information using a PowerShell script to perform an XSLT transform on existing XML data.

System Fundamentals (ssfun\ssfun.asmtx) - Gathers basic system fundamental metrics such as processes running and memory used.
PowerShell script which loads a template result XML file and fills in various processes and working set metrics.

WinSAT Basic Metrics (winsat\WinsatMetrics.asmtx) - Just gathers some of the individual WinSAT metrics from the registry if they exist.
PowerShell script populates results with WinSAT metrics from the registry if already available; also generates a detailed error type metric if not available.
