Get-FreeMemory.ps1

# Get-FreeMemory.ps1 # Sample using PowerShell # 1st sample from http://msdn.microsoft.com/en-us/library/aa394587 # Thomas Lee $mem = Get - WmiObject - Class Win32_OperatingSystem # Display memory " System : {0} " -f $mem .csname " Free Memory: {0} " -f $mem .FreePhysicalMemory This script produces the following output: PS C:\foo> .\get-freememory.ps1 System : COOKHAM8 Free Memory Read More...

Read the complete post at http://pshscripts.blogspot.com/2008/11/get-freememoryps1.html


Posted Nov 30 2008, 09:04 AM by PowerShell Scripts
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.