Microsoft Virtualization Discussions

Get Shelf type and serial number with PSTK (7-Mode)

hpreckur
9,460 Views

Hi,

 

IHAC that wants to retrieve Shelf type (e.g. DS2246) and shelf serial number from a 7-Mode system. For cDOT there is the Get-NcStorageShelf command.

Is there a similar command available for 7-mode?

 

And is there any command mapping 7-Mode <=> cDOT for PSTK?

 

Thanks in advance!

1 ACCEPTED SOLUTION

JGPSHNTAP
9,406 Views

I think i went thru this years ago and i don't think its availble with direct tru a cmdlet

 

You can do this

 

$d = invoke-nassh "storage show shelf"

PS C:\powershell> $d = $d.split("`n")

PS C:\powershell> $d | ?{$_ -like "*shelf name*" -or $_ -like "*shelf S/N*"}

 

 

View solution in original post

11 REPLIES 11
Public