< Back
Get-InstorVolume
Post
NAME Get-InstorVolume
SYNOPSIS
Retrieves the Volume(s) from MCS storage.
SYNTAX
Get-InStorVolume [-Conn] <InStorConnection> [[-Opts] <String>] [<CommonParameters>]
Get-InStorVolume [-Conn] <InStorConnection> [-VolumeID] <String> [[-Opts] <String>] [<CommonParameters>]
Get-InStorHost [-Conn] <InStorConnection> [-VolumeName] <String> [[-Opts] <String>] [<CommonParameters>]
DESCRIPTION
Retrieves the Volume(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
-VolumeID <String>
ID of Inspur MCS Storage Volume.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VolumeName <String>
Name of Inspur MCS Storage Volume.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Opts <String>
Optional parameter for special purpose.
Required? false
Position? 2
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-InstorVolume $conn
Retrieves volumes from MCS Storage.
id name mdisk_grp_name capacity
-- ---- -------------- --------
0 cdh_vol Pool0 2147483648
2 cdh_test_create_1 Pool0 3221225472
4 cdh_test_create3 Pool0 4294967296
-------------------------- EXAMPLE 2 --------------------------
Get-InstorVolume $conn -VolumeID "2"
Retrieves host from MCS Storage which has a id of "2".
id name mdisk_grp_name capacity
-- ---- -------------- --------
2 cdh_test_create_1 Pool0 3221225472
-------------------------- EXAMPLE 3 --------------------------
Get-InstorVolume $conn -VolumeName "cdh_vol"
Retrieves host from MCS Storage which has a name of "cdh_vol".
id name mdisk_grp_name capacity
-- ---- -------------- --------
0 cdh_vol Pool0 2147483648
RELATED LINKS
SYNOPSIS
Retrieves the Volume(s) from MCS storage.
SYNTAX
Get-InStorVolume [-Conn] <InStorConnection> [[-Opts] <String>] [<CommonParameters>]
Get-InStorVolume [-Conn] <InStorConnection> [-VolumeID] <String> [[-Opts] <String>] [<CommonParameters>]
Get-InStorHost [-Conn] <InStorConnection> [-VolumeName] <String> [[-Opts] <String>] [<CommonParameters>]
DESCRIPTION
Retrieves the Volume(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
-VolumeID <String>
ID of Inspur MCS Storage Volume.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VolumeName <String>
Name of Inspur MCS Storage Volume.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Opts <String>
Optional parameter for special purpose.
Required? false
Position? 2
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-InstorVolume $conn
Retrieves volumes from MCS Storage.
id name mdisk_grp_name capacity
-- ---- -------------- --------
0 cdh_vol Pool0 2147483648
2 cdh_test_create_1 Pool0 3221225472
4 cdh_test_create3 Pool0 4294967296
-------------------------- EXAMPLE 2 --------------------------
Get-InstorVolume $conn -VolumeID "2"
Retrieves host from MCS Storage which has a id of "2".
id name mdisk_grp_name capacity
-- ---- -------------- --------
2 cdh_test_create_1 Pool0 3221225472
-------------------------- EXAMPLE 3 --------------------------
Get-InstorVolume $conn -VolumeName "cdh_vol"
Retrieves host from MCS Storage which has a name of "cdh_vol".
id name mdisk_grp_name capacity
-- ---- -------------- --------
0 cdh_vol Pool0 2147483648
RELATED LINKS