Determining If An Object Is An Array

Over on Hal Rotettenberg’s blog ( TechProsaic ), he recently posted an interesting article about how to tell if an object in PowerShell is an array or a scalar. His solution was to use the Get-Type method, and to look for the BaseType property of the Read More...

Read the complete post at http://tfl09.blogspot.com/2009/01/determining-if-object-is-array.html


Posted Jan 18 2009, 07:38 AM by Under The Stairs
Filed under: , , , ,
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.