CmdID / PowerShell / Cmdlets / Disconnect
Disconnect-VirtualDisk
Disconnects a virtual disk from the specified computer, revoking access to the virtual 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.-FriendlyNameSpecifies the friendly name of the virtual disk to disconnect.-InputObjectSpecifies the input object that is used in a pipeline command.-NameSpecifies the name of the virtual disk to disconnect.-PassThruSpecifies that the cmdlet should output an object representing the disconnected virtual disk.-StorageNodeNameSpecifies the name of a computer.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-UniqueId, -IdSpecifies the UniqueID of the virtual disk to disconnect.