This is the built-in help made by Microsoft for the command 'Hide-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.
Hides the virtual disk from the host when the Storage Management Provider in use does not support masking sets.
Hide-VirtualDisk [-FriendlyName] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-InitiatorAddress <String>] [-PassThru] [-TargetPortAddresses <String[]>] [-ThrottleLimit
<Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Hide-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-InitiatorAddress <String>] [-PassThru] [-TargetPortAddresses <String[]>] [-ThrottleLimit <Int32>] -UniqueId
<String[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Hide-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-InitiatorAddress <String>] [-PassThru] [-TargetPortAddresses <String[]>] [-ThrottleLimit <Int32>] -InputObject
<CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Hide-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-InitiatorAddress <String>] [-PassThru] [-TargetPortAddresses <String[]>] [-ThrottleLimit <Int32>] -Name <String[]>
[-Confirm] [-WhatIf] [<CommonParameters>]
The Hide-VirtualDisk cmdlet hides the virtual disk from the host when the Storage Management Provider in use does not support masking sets. This is equivalent to masking.
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=307000
Connect-VirtualDisk
Disconnect-VirtualDisk
Get-InitiatorPort
Get-TargetPort
Get-VirtualDisk
New-VirtualDisk
Remove-VirtualDisk
Repair-VirtualDisk
Resize-VirtualDisk
Set-VirtualDisk
Show-VirtualDisk
<
EXAMPLE 1
PS C:\> $iniport = (Get-InitiatorPort)
PS C:\> $tarport = (Get-TargetPort)
PS C:\> Hide-VirtualDisk -FriendlyName "SQLData_27a" -TargetPortAddresses $tarport.NodeAddress -InitiatorAddress $iniport.NodeAddress
This example displays hides the virtual disk when the storage provider does not support masking sets. This cmdlet can be used either locally or remotely, to hide or deny
access.