Measure-MemoryUsage

0.0.1

This cmdlet tries to determine the memory usage of a command or script block by executing it a new session and
comparing the memory usage before and the peak usage after the execution of the command or script block.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Measure-MemoryUsage

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Ronald Bode (iRon)

Package Details

Author(s)

  • Ronald Bode (iRon)

Tags

Measure Memory Usage Command ScriptBlock

Functions

ByteSize ToString

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
0.0.1 (current version) 5 3/5/2025