CmdID / PowerShell / Cmdlets / Dismount
Dismount-DiskImage
Dismounts a disk image (virtual hard disk or ISO) so that it can no longer be accessed as a disk. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DevicePathSpecifies the device path of the ISO/VHD file.-ImagePathSpecifies the path of the ISO or VHD file.-InputObjectSpecifies the input object that is used in a pipeline command.-StorageTypeSpecifies the storage type of a file: ISO, VHD, VHDx, or Unknown.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.