Subscribe
Accepted Solution

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

[ Edited ]

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!

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

Here I will help you out

 

get-nahelp *shelf*

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

Thanks! Looks like the shelf S/N is not available for 7-mode...

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

On the other hand: a NetAppDocs document show shelf type and S/N for 7-Mode as well. So some PSTK command should show it.

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

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*"}

 

 

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

Thanks again!

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

Can you mark answers and please hit kudos.


Thanks