Interacting with the User
If you need to request information from the user, prompt the user to take action, or inform the user about a change that was made, you can use the following interactions:
- Single-response interactions let the user select a single choice from a list of choices
- Multiple-response interactions let the user select multiple choices from a list of choices
- Text interactions let the user provide text input
- Pause interactions let you provide instructions to the user
- Launch UI interactions let the user launch a UI application
You must define the interactions in the troubleshooting manifest. To invoke the interactions, specify the interaction's ID when you call the Get-DiagInput cmdlet from your troubleshooter, resolver, or verifier scripts. The RequiresInteractivity node of the Script definition must be set to true.
Each interaction contains an ExtensionPoint element. You can use the ExtensionPoint element to customize the interaction. For example, you can add additional information to the interaction or set the default value or selections for the interaction. See each interaction for the extension points that they support.
The extension points are used only by the WTP wizard (MSDT.exe); the extension points are not supported by the command-line client using the Invoke-TroubleshootingPack cmdlet.