I created a script that gets the drivespace usage from 30 servers on the network and right before the script finishes running I get the following error:
=Error=
=Error=
Get-WmiObject : Insufficient memory to continue the execution of the program.
At line:1 char:14
+ Get-WMIObject <<<< Win32_LogicalDisk -filter "DriveType=3" -computer(Get-Content $ServerList) | Select SystemName,Devi
ceID,size,freespace
+ CategoryInfo : NotSpecified: (:) [Get-WmiObject], OutOfMemoryException
+ FullyQualifiedErrorId : System.OutOfMemoryException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
=================Script Snippet: Get-WMIObject
any help is appreciated.