This is the built-in help made by Microsoft for the command 'Disconnect-VirtualDisk', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Disconnects a virtual disk from the specified computer, revoking access to the virtual disk.
Disconnect-VirtualDisk [-FriendlyName] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-StorageNodeName <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Disconnect-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-StorageNodeName <String>] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]>
[<CommonParameters>]
Disconnect-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-StorageNodeName <String>] [-ThrottleLimit <Int32>] -Name <String[]> [<CommonParameters>]
Disconnect-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-StorageNodeName <String>] [-ThrottleLimit <Int32>] -UniqueId <String[]> [<CommonParameters>]
The Disconnect-VirtualDisk cmdlet disconnects a virtual disk from the specified computer, revoking access to the virtual disk.
To disconnect a virtual disk from a remote computer, from a management node in a subsystem that is registered on the management node, specify the StorageNodeName parameter.
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=294428
Connect-VirtualDisk
Get-VirtualDisk
Hide-VirtualDisk
New-VirtualDisk
Remove-VirtualDisk
Repair-VirtualDisk
Resize-VirtualDisk
Set-VirtualDisk
Show-VirtualDisk
<
Example 1: Disconnect a virtual disk by friendly name
PS C:\>Disconnect-VirtualDisk -FriendlyName VirtualDisk01
This example disconnects a virtual disk named VirtualDisk01 from the local machine to prevent futher access to the virtual disk.
Example 2: Disconnect a virtual disk from a remote computer from a management node
PS C:\>Get-StorageSubSystem –FriendlyName "Clustered Storage Spaces on Cluster01" | Get-VirtualDisk –FriendlyName "VDisk01" | Disconnect-VirtualDisk –StorageNodeName
"ClustNode1"
This command disconnects a virtual disk to from remote computer from a management node in a subsystem that is registered on the management node.