Posts

Showing posts with the label Memory

Check Memory Usage

Image
This blog is created as part of my PowerShell learning and getting into the blogging world, so you may see repetitive content. Please bear with me. Here I am posting a simple script that can be used to get RAM memory details from remote windows computers. Please let me know your suggestions on improving the scripts. reference: https://gallery.technet.microsoft.com/scriptcenter/Powershell-Script-to-Get-78687c5e <# . SYNOPSIS Get memory details of a remote server . DESCRIPTION Get the Available physical memory, FreePhysicalMemory, and Percentage of Memory Usage remotely. . PARAMETER ComputerName Accepts a list of computer names or IP addresses . EXAMPLE Get-MemoryUsage -ComputerName computer1 Get-MemoryUsage -ComputerName computer1,computer2 . LINK https://posh-scripting.blogspot.in/2016/10/memory-usage.html #> function Get-MemoryUsage { [ CmdletBinding ()] Param ( # A computer name or list of computer names ...