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

  • 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!!!