Summary: Easily find the number of elements in a Windows PowerShell array.
Image may be NSFW.
Clik here to view. How can I find how many elements are in a Windows PowerShell array?
Image may be NSFW.
Clik here to view. You can find the number of elements in a Windows PowerShell array in the following ways:
[array]$a = 1,2,3,4,5
$a.Count
$a.Length
$a.GetUpperBound(0)
Image may be NSFW.
Clik here to view.
Clik here to view.
