< Back

Get-StorageEnclosureStorageNodeView

Wed Jan 30, 2019 6:01 pm

NAME Get-StorageEnclosureStorageNodeView



SYNOPSIS

Gets the node view of a Storage enclosure.





SYNTAX

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





DESCRIPTION

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





PARAMETERS

-CimSession [<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? 3

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-StorageEnclosure [<CimInstance>]

Specifies the Storage enclosure.



Required? false

Position? 2

Default value none

Accept pipeline input? true(ByValue)

Accept wildcard characters? false



-StorageNode [<CimInstance>]

Specifies the Storage node.



Required? false

Position? 1

Default value none

Accept pipeline input? true(ByValue)

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

MSFT_StorageNodeToStorageEnclosure[]



This cmdlet returns an array of StorageNodeToStorageEnclosure objects.





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.







RELATED LINKS

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

Get-DiskStorageNodeView

Get-PhysicalDiskStorageNodeView