1. A method comprising: generating, by a provisioning server, a diagnostic tool to provide to a target machine, wherein the diagnostic tool is to collect data representing an operation of hardware of the target machine, and wherein the diagnostic tool is to execute on the target machine independent of any software or operating system installed on the target machine, wherein generating the diagnostic tool comprises: determining a plurality of specifications of the hardware of the target machine, and selecting one or more diagnostic components to include in the diagnostic tool from a plurality of diagnostic components in view of the determined plurality of specifications of the hardware of the target machine, wherein the selected one or more diagnostic components comprise operations to interact with the hardware of the target machine; directly providing, by the provisioning server, the generated diagnostic tool to the target machine; and initiating, by the provisioning server, execution of the provided diagnostic tool on the target machine, wherein initiating execution of the provided diagnostic tool comprises sending instructions to alter a power state of the target machine.