
Import-Module "Dism"I mport-Module "Microsoft.Dart" #``# Import the modules necessary for DaRT Image creation.``# $ErrorActionPreference = "Stop" ``# This variable tells PowerShell to stop if an error occurs. This script was auto generated by the Microsoft DaRT Recovery Image Wizard.``#``This script uses the DISM and DaRT PowerShell commands to create a bootable DaRT image.``#Both a WIM and ISO file are produced.``#``# Examples of how to burn/copy the DaRT ISO to DVD/USB are available at the end of this script.``# You can create the Microsoft Diagnostics and Recovery Toolset (DaRT) 10 recovery image by using a PowerShell script instead of using the DaRT 10 Recovery Image wizard.


In this article To create the DaRT recovery image by using a PowerShell script How to Use a PowerShell Script to Create the Recovery Image
