Windows PowerShell command on Get-command Show-VirtualDisk
MyWebUniversity

Windows PowerShell command on Get-command Show-VirtualDisk

NAME

Show-VirtualDisk

SYNOPSIS

Makes a virtual disk available to a host.

SYNTAX

Show-VirtualDisk [-FriendlyName] [-CimSession ] [-HostType {Unknown | Other | Standard |

Solaris | HPUX | OpenVMS | Tru64 | Netware | Sequent | AIX | DGUX | Dynix | Irix | CiscoISCSIStorageRouter | Linux | MicrosoftWindows | OS400 | TRESPASS | HIUX | VMwareESXi | MicrosoftWindowsServer2008 |

MicrosoftWindowsServer2003}] [-InitiatorAddress ] [-PassThru] [-TargetPortAddresses ]

[-ThrottleLimit ] [-Confirm] [-WhatIf] []

Show-VirtualDisk [-CimSession ] [-HostType {Unknown | Other | Standard | Solaris | HPUX | OpenVMS |

Tru64 | Netware | Sequent | AIX | DGUX | Dynix | Irix | CiscoISCSIStorageRouter | Linux | MicrosoftWindows | OS400

| TRESPASS | HIUX | VMwareESXi | MicrosoftWindowsServer2008 | MicrosoftWindowsServer2003}] [-InitiatorAddress

] [-PassThru] [-TargetPortAddresses ] [-ThrottleLimit ] [-Confirm] [-WhatIf]

[]

Show-VirtualDisk [-CimSession ] [-HostType {Unknown | Other | Standard | Solaris | HPUX | OpenVMS |

Tru64 | Netware | Sequent | AIX | DGUX | Dynix | Irix | CiscoISCSIStorageRouter | Linux | MicrosoftWindows | OS400

| TRESPASS | HIUX | VMwareESXi | MicrosoftWindowsServer2008 | MicrosoftWindowsServer2003}] [-InitiatorAddress

] [-PassThru] [-TargetPortAddresses ] [-ThrottleLimit ] -Name [-Confirm]

[-WhatIf] []

Show-VirtualDisk [-CimSession ] [-HostType {Unknown | Other | Standard | Solaris | HPUX | OpenVMS |

Tru64 | Netware | Sequent | AIX | DGUX | Dynix | Irix | CiscoISCSIStorageRouter | Linux | MicrosoftWindows | OS400

| TRESPASS | HIUX | VMwareESXi | MicrosoftWindowsServer2008 | MicrosoftWindowsServer2003}] [-InitiatorAddress

] [-PassThru] [-TargetPortAddresses ] [-ThrottleLimit ] -UniqueId [-Confirm]

[-WhatIf] []

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.

PARAMETERS

-CimSession []

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such

as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local

computer. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-FriendlyName

Specifies the friendly name of the virtual disk to make available to the specified hosts. Required? true Position? 1 Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false

-HostType []

Specifies the operating system of the host computer. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-InitiatorAddress []

Specifies the address for an initiator to which the virtual disk should be unmasked. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-Name

Specifies the name of the virtual disk to make available to the specified hosts. Required? true Position? named Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false

-PassThru []

Specifies that the cmdlet should output an object representing the virtual disk it unmasked. By default, this cmdlet does not generate any output. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-TargetPortAddresses []

Specifies one or more target port addresses to which the virtual disk should be unmasked. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-ThrottleLimit []

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShellr calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-UniqueId

Specifies the UniqueID of the virtual disk to make available to the specified host. Required? true Position? named Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false

-Confirm []

Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. Required? false Position? named Default value false Accept pipeline input? false Accept wildcard characters? false

-WhatIf []

Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. Required? false Position? named Default value false Accept pipeline input? false Accept wildcard characters? false This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_VirtualDisk http://msdn.microsoft.com/library/windows/desktop/hh830584.aspx You can pipe an MSFT_VirtualDisk object to the InputObject parameter.

OUTPUTS

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_VirtualDisk http://msdn.microsoft.com/library/windows/desktop/hh830584.aspx If you specify the PassThru parameter, this cmdlet outputs an object representing the virtual disk you made available to a host computer.

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.

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=816495

Connect-VirtualDisk

Disconnect-VirtualDisk

Get-InitiatorPort

Get-TargetPort

Get-VirtualDisk

Hide-VirtualDisk

New-VirtualDisk

Remove-VirtualDisk

Repair-VirtualDisk

Resize-VirtualDisk

Set-VirtualDisk



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™