NAME
Get-StorageNode
SYNOPSIS
Gets storage nodes.SYNTAX
Get-StorageNode [-CimSession
] [-Name ] [-OperationalStatus ] [-ThrottleLimit
] [ ] Get-StorageNode [-CimSession
] [-OperationalStatus ] [-StoragePool
] [-ThrottleLimit ] [ ] Get-StorageNode [-CimSession
] [-OperationalStatus ] [-ThrottleLimit ] [-UniqueId
] [ ] Get-StorageNode [-CimSession
] [-OperationalStatus ] [-PhysicallyConnected] [-StorageEnclosure
] [-ThrottleLimit ] [ ] Get-StorageNode [-CimSession
] [-OperationalStatus ] [-StorageSubSystem
] [-ThrottleLimit ] [ ] Get-StorageNode [-CimSession
] [-OperationalStatus ] [-ThrottleLimit ] [-VirtualDisk
] [ ] Get-StorageNode [-CimSession
] [-OperationalStatus ] [-PhysicalDisk
] [-PhysicallyConnected] [-ThrottleLimit ] [ ] Get-StorageNode [-Disk
] [ ] Get-StorageNode [-ObjectId
] [ ] Get-StorageNode [-Volume
] [ ] DESCRIPTION
The Get-StorageNode cmdlet gets objects that represent storage nodes and their operational statuses. Use this
cmdlet to get storage nodes to pass to the Get-PhysicalDisk cmdlet or the Get-VirtualDisk cmdlet to get the
physical or virtual disks connected to storage nodes. Use the current cmdlet with the Get-StoragePool cmdlet to
get the storage pools that storage nodes own.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-Disk [
] Specifies a disk for which this cmdlet gets storage notes. To obtain a Disk object, use the Get-Disk cmdlet.
Required? false Position? named Default value none Accept pipeline input? true(ByValue) Accept wildcard characters? false-Name [
Specifies an array of names. The cmdlet gets the storage nodes that you specify by name. Required? false Position? named Default value none] Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false-ObjectId [
Specifies an array of object IDs, as strings. Required? false Position? named Default value none] Accept pipeline input? true(ByPropertyName)
Accept wildcard characters? false-OperationalStatus [
Specifies an array of OperationStatus objects. The cmdlet gets storage nodes that match the operational statuses that you specify. The acceptable values for this parameter are:] -- Dormant
-- Down
-- LowerLayerDown
-- NotPresent
-- Testing
-- Unknown
-- Up
Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false-PhysicalDisk [
Specifies a physical disk as a CimInstance object. The cmdlet gets the storage nodes that correspond to the] disk that you specify. To obtain a physical disk object, use the Get-PhysicalDisk cmdlet.
Required? false Position? named Default value none Accept pipeline input? True (ByValue) Accept wildcard characters? false-PhysicallyConnected [
Indicates that this cmdlet gets the storage nodes that are physically connected to a device. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false] -StorageEnclosure [
Specifies a storage enclosure that is associated with the storage nodes to get. To obtain a StorageEnclosure] object, use the Get-StorageEnclosure cmdlet.
Required? false Position? named Default value none Accept pipeline input? True (ByValue) Accept wildcard characters? false-StoragePool [
Specifies a storage pool as a CimInstance object. The cmdlet gets storage node associated with storage pool] that you specify. To obtain a storage pool object, use the Get-StoragePool cmdlet.
Required? false Position? named Default value none Accept pipeline input? True (ByValue) Accept wildcard characters? false-StorageSubSystem [
Specifies a storage subsystem as a CimInstance object. The cmdlet gets the storage nodes that belong to the] subsystem that you specify. To obtain a storage subsystem object, use the Get-StorageSubSystem cmdlet.
Required? false Position? named Default value none Accept pipeline input? True (ByValue) 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 an array of unique IDs, as strings. The cmdlet gets the storage nodes that have the IDs that you specify. Required? false Position? named Default value none] Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false-VirtualDisk [
Specifies a virtual disk as a CimInstance object. The cmdlet gets the storage nodes that correspond to the] disk that you specify. To obtain a virtual disk object, use the Get-VirtualDisk cmdlet.
Required? false Position? named Default value none Accept pipeline input? True (ByValue) Accept wildcard characters? false-Volume [
Specifies a volume. The cmdlet gets the storage nodes that correspond to the volume that you specify. To] obtain a Volume object, use the Get-Volume cmdlet.
Required? false Position? named Default value none Accept pipeline input? true(ByValue) Accept wildcard characters? falseThis 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_StorageNode[] http://msdn.microsoft.com/library/windows/desktop/dn535804(v=vs.85).aspx This cmdlet outputs an array of objects that represent storage nodes and their operational statuses.Example 1: Get a storage node
PS C:\>Get-StorageNode -Name "StorageNode21"
This command gets a storage node named StorageNode21.Example 2: Get the operational statuses for all physical disks
PS C:\>Get-PhysicalDisk | Get-StorageNode
This command uses the Get-PhysicalDisk cmdlet to obtain all the physical disks, and then passes them to the
current cmdlet by using the pipeline operator. The cmdlet gets the storage nodes and operational statuses for the physical disks.RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=816409Get-Disk
Get-PhysicalDisk
Get-StorageEnclosure
Get-StoragePool
Get-StorageSubSystem
Get-VirtualDisk
Get-Volume