About 153,000 results
Open links in new tab
  1. Measure-Object (Microsoft.PowerShell.Utility) - PowerShell

    You can use Measure-Object to count objects or count objects with a specified Property. You can also use Measure-Object to calculate the Minimum, Maximum, Sum, StandardDeviation and …

  2. Mastering Count in PowerShell: Simple Techniques Explained

    Master the art of counting in PowerShell. Discover simple techniques to effectively count objects and streamline your scripts effortlessly.

  3. How to Count Objects in PowerShell - Itechguides

    Jun 17, 2021 · Whatever you need to count in PowerShell, you can use either the Count Operator or the Measure-Object Cmdlet. This guide teaches you different examples to demonstrate how …

  4. How to count objects in PowerShell? - Stack Overflow

    Jul 17, 2012 · Now, how do I get the count of these objects? This will get you count: You can work with the result as with object: $m.Count. And if you would like to have aliases in some variable …

  5. Measure-Object (Sum Count) - PowerShell - SS64.com

    Determine the maximum of any type of paged memory usage among a set of processes (wildcards require PowerShell 6+). Get-Process | Measure-Object -Maximum …

  6. PowerShell Count Files in Folder: 7 Practical Methods - SPGuides

    May 9, 2025 · Learn 7 ways to count files in folders using PowerShell, from basic counts to advanced filtering by type, size, or date. Perfect for admins and power users.

  7. How to Count Objects in PowerShell - Delft Stack

    Feb 2, 2024 · This article delves into practical applications of both the Count operator and the Measure-Object cmdlet by demonstrating how to count files in a folder and perform other …

  8. Using Counters in PowerShell Scripts: Practical Examples

    Sep 17, 2025 · Learn everything about PowerShell counters, from using counters in loops to incrementing variables. Master counting in ForEach and for loops!

  9. Measure-Object Cheat Sheet - Measure-Object Command Line …

    Mar 1, 2025 · Measure-Object is a vital cmdlet in PowerShell that enables you to quickly and easily compute summary statistics from collections of objects. Its ability to calculate counts, …

  10. PowerShell Where-Object Count [With Examples]

    Feb 20, 2024 · To count the number of objects that meet certain criteria in PowerShell, you can use the Where-Object cmdlet to filter the objects and then pipe the output to the Measure …