#PowerShell Timing How Long it Takes a Script to Run

If you’ve ever wondered how long it takes to perform a specific task then the Measure-Command cmdlet is exactly what you’ve been looking for: it enables you to measure the running time of a command or script down to the millisecond. Measure-Command {Get-Service | Export-Clixml c:\scripts\test.xml} When you run this command, service information will be savedContinue reading “#PowerShell Timing How Long it Takes a Script to Run”