unload

Syntax

unload[-n][-v|verbose]handle

Description

Unloads a UEFI driver image from memory.

Options

-n

Skips all prompts during unloading so that the output can be used in a script file.

-v

Displays verbose image information before unloading.

verbose

Dumps verbose image information before unloading.

handle

Specifies the handle of the driver to unload in hexadecimal format.

Usage

Only drivers that support unloading can be unloaded.

Examples

To find the handle for the UEFI driver image to unload:

Shell> dh -b
      

To unload the UEFI driver image with handle 27:

Shell> unload 27