< Back
Get-InStorHostVolMap
Post
NAME Get-InStorHostVolMap
SYNOPSIS
Retrieves the HostVdiskMap(s) from MCS storage.
SYNTAX
Get-InStorHostVolMap [-Conn] <InStorConnection> [<CommonParameters>]
Get-InStorHostVolMap [-Conn] <InStorConnection> [-HostID] <String> [<CommonParameters>]
Get-InStorHostVolMap [-Conn] <InStorConnection> [-HostName] <String> [<CommonParameters>]
DESCRIPTION
Retrieves the HostVdiskMap(s) from MCS storage.
PARAMETERS
-Conn <InStorConnection>
The Connection to MCS Storage, returned by cmdlet New-InStorConnection.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
-HostID <String>
ID of Inspur MCS Storage Host.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-HostName <String>
Name of Inspur MCS Storage Volume.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
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
OUTPUTS
System.Management.Automation.PSObject
returns a PSObject Object.
System.Array
returns a Array of Management.Automation.PSObject.
-------------------------- EXAMPLE 1 --------------------------
Get-InStorHostVolMap $conn
Retrieves HostVdiskMaps from MCS Storage.
id : 0
name : cdh_iscsi_180
vdisk_id : 0
vdisk_name : cdh_vol
vdisk_UID : 60050760009289C11800000000003A70
id : 0
name : cdh_iscsi_180
vdisk_id : 2
vdisk_name : cdh_test_create_1
vdisk_UID : 60050760009289C11800000000003B82
-------------------------- EXAMPLE 2 --------------------------
Get-InStorHostVolMap $conn -HostID "0"
Retrieves HostVdiskMaps from MCS Storage which has a HostID of "0".
id : 0
name : cdh_iscsi_180
vdisk_id : 0
vdisk_name : cdh_vol
vdisk_UID : 60050760009289C11800000000003A70
id : 0
name : cdh_iscsi_180
vdisk_id : 2
vdisk_name : cdh_test_create_1
vdisk_UID : 60050760009289C11800000000003B82
-------------------------- EXAMPLE 3 --------------------------
Get-InStorHostVolMap $conn -HostName "cdh_iscsi_180"
Retrieves HostVdiskMaps from MCS Storage which has a HostID of "0".
id : 0
name : cdh_iscsi_180
vdisk_id : 0
vdisk_name : cdh_vol
vdisk_UID : 60050760009289C11800000000003A70
id : 0
name : cdh_iscsi_180
vdisk_id : 2
vdisk_name : cdh_test_create_1
vdisk_UID : 60050760009289C11800000000003B82
RELATED LINKS
SYNOPSIS
Retrieves the HostVdiskMap(s) from MCS storage.
SYNTAX
Get-InStorHostVolMap [-Conn] <InStorConnection> [<CommonParameters>]
Get-InStorHostVolMap [-Conn] <InStorConnection> [-HostID] <String> [<CommonParameters>]
Get-InStorHostVolMap [-Conn] <InStorConnection> [-HostName] <String> [<CommonParameters>]
DESCRIPTION
Retrieves the HostVdiskMap(s) from MCS storage.
PARAMETERS
-Conn <InStorConnection>
The Connection to MCS Storage, returned by cmdlet New-InStorConnection.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
-HostID <String>
ID of Inspur MCS Storage Host.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-HostName <String>
Name of Inspur MCS Storage Volume.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
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
OUTPUTS
System.Management.Automation.PSObject
returns a PSObject Object.
System.Array
returns a Array of Management.Automation.PSObject.
-------------------------- EXAMPLE 1 --------------------------
Get-InStorHostVolMap $conn
Retrieves HostVdiskMaps from MCS Storage.
id : 0
name : cdh_iscsi_180
vdisk_id : 0
vdisk_name : cdh_vol
vdisk_UID : 60050760009289C11800000000003A70
id : 0
name : cdh_iscsi_180
vdisk_id : 2
vdisk_name : cdh_test_create_1
vdisk_UID : 60050760009289C11800000000003B82
-------------------------- EXAMPLE 2 --------------------------
Get-InStorHostVolMap $conn -HostID "0"
Retrieves HostVdiskMaps from MCS Storage which has a HostID of "0".
id : 0
name : cdh_iscsi_180
vdisk_id : 0
vdisk_name : cdh_vol
vdisk_UID : 60050760009289C11800000000003A70
id : 0
name : cdh_iscsi_180
vdisk_id : 2
vdisk_name : cdh_test_create_1
vdisk_UID : 60050760009289C11800000000003B82
-------------------------- EXAMPLE 3 --------------------------
Get-InStorHostVolMap $conn -HostName "cdh_iscsi_180"
Retrieves HostVdiskMaps from MCS Storage which has a HostID of "0".
id : 0
name : cdh_iscsi_180
vdisk_id : 0
vdisk_name : cdh_vol
vdisk_UID : 60050760009289C11800000000003A70
id : 0
name : cdh_iscsi_180
vdisk_id : 2
vdisk_name : cdh_test_create_1
vdisk_UID : 60050760009289C11800000000003B82
RELATED LINKS