Home Forums Programming Powershell How to find number of columns returned from query in powershell RE: How to find number of columns returned from query in powershell
Gary Varga
SSC Guru
Points: 82166
More actions
July 25, 2014 at 8:08 am
#1732380
Does the following help:
$QueryResults.Count
as it is just an array of objects?
Edit: Because everyone makes mistakes 😉
Gaz
-- Stop your grinnin' and drop your linen...they're everywhere!!!