Microsoft Virtualization Discussions

count of disks

JSHACHER11

how do I get a count of disks based on module connection?

something like this:

(Get-NaDisk 0a.*).Count | ? {$_.port -eq "A"} | fl

cheers

1 ACCEPTED SOLUTION

JSHACHER11

got it:

$a = (Get-NaDisk 0a.*).Count | ? {$_.port -eq "A"}

$a.count

View solution in original post

1 REPLY 1

JSHACHER11

got it:

$a = (Get-NaDisk 0a.*).Count | ? {$_.port -eq "A"}

$a.count

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

Public