Edit

Share via


Get-StorageEnclosureStorageNodeView

Gets the node view of a Storage enclosure.

Syntax

Default (Default)

Get-StorageEnclosureStorageNodeView
    [[-StorageNode] <CimInstance>]
    [[-StorageEnclosure] <CimInstance>]
    [[-CimSession] <CimSession>]
    [<CommonParameters>]

Description

The Get-StorageEnclosureStorageNodeView cmdlet gets the node view of a Storage enclosure.

Examples

Example 1: Get enclosure details on a storage node

PS C:\>Get-StorageNode -Name "StorageNode21" | Get-StorageEnclosureStorageNodeView

This command gets all storage enclosure details connected to storage node named StorageNode21.

Example 2: Get storage enclosure details for all healthy enclosures

PS C:\>Get-StorageEnclosure -HealthStatus Healthy | Get-StorageEnclosureStorageNodeView

This command gets all Healthy storage enclosure details across all nodes in the cluster.

Example 3: Get storage enclosure details across all nodes

PS C:\>Get-StorageEnclosureStorageNodeView

This command gets all storage enclosure details across all nodes in the cluster.

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.

Parameter properties

Type:CimSession
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-StorageEnclosure

Specifies the Storage enclosure.

Parameter properties

Type:CimInstance
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-StorageNode

Specifies the Storage node.

Parameter properties

Type:CimInstance
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

MSFT_StorageNodeToStorageEnclosure

This cmdlet returns an array of StorageNodeToStorageEnclosure objects.

Notes

  • When used in Failover Cluster, cmdlets from the Storage module operate on cluster level (all servers in the cluster).