CmdID / PowerShell / Cmdlets / Dismount
Dismount-AppxVolume
Dismounts an appx volume. Windows Server PowerShell reference
From the Windows Server PowerShell reference 3 parameters Its page in the reference
Parameters
-VolumeSpecifies the AppxVolume object to dismount.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.