PowerShell Logo Small

Show-VirtualDisk



This is the built-in help made by Microsoft for the command 'Show-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.

SYNOPSIS

Makes a virtual disk available to a host.

SYNTAX


Show-VirtualDisk [-FriendlyName] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-HostType <HostType>] [-InitiatorAddress <String>] [-PassThru] [-TargetPortAddresses
<String[]>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Show-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-HostType <HostType>] [-InitiatorAddress <String>] [-PassThru] [-TargetPortAddresses <String[]>] [-ThrottleLimit
<Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Show-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-HostType <HostType>] [-InitiatorAddress <String>] [-PassThru] [-TargetPortAddresses <String[]>] [-ThrottleLimit
<Int32>] -UniqueId <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Show-VirtualDisk [-AsJob] [-CimSession <CimSession[]>] [-HostType <HostType>] [-InitiatorAddress <String>] [-PassThru] [-TargetPortAddresses <String[]>] [-ThrottleLimit
<Int32>] -Name <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Show-VirtualDisk cmdlet makes a virtual disk available to a host (by initiator and target ports). This cmdlet is equivalent to a VDS unmask operation.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=307041
Connect-VirtualDisk
Disconnect-VirtualDisk
Get-InitiatorPort
Get-TargetPort
Get-VirtualDisk
Hide-VirtualDisk
New-VirtualDisk
Remove-VirtualDisk
Repair-VirtualDisk
Resize-VirtualDisk
Set-VirtualDisk

REMARKS

<

Examples


Example 1: Make a virtual disk available to the local computer

PS C:\> $initaddress = (Get-InitiatorPort)
PS C:\> $tarport = (Get-TargetPort)
PS C:\> Show-VirtualDisk -FriendlyName "SQLData_27a" -TargetPortAddresses $tarport.NodeAddress -InitiatorAddress $initaddress.NodeAddress



This example makes the "SQLData_27a" virtual disk available to all initiators and target ports of the local computer.