Use NTreport as a command line tool to get RAM size from remote machines
Top  Previous  Next


·Cut and paste the below text to the NTreport window  

[Settings_Begin]
FileType=NTreport
NTinfo.Name.All.Rows=Yes
NTreport.Delimiter=,
NTinfo.RAM=Yes
NTinfo.Service.Stop=Yes
[Settings_End]

[Batch_Begin]
Clear.Window Main
Get.Data \\edu12
Write.File c:\ntreport\RAMSize.txt ; Main ; %col3%
[Batch_End]


·Click "Save" and save the file as "e18.cnu"  
·Click "Clear"  
·Cut and paste the below batch file to the NTreport window  

del ramsize.txt
admwin.exe /ntreport /hide e18.cnu /r batch,Get.Data,Get.Data \\%1
type ramsize.txt


·Click "Save" and save the file as "RAM.bat"  
·Call RAM.bat with this syntax: "RAM <computername>"  

Each time you call RAM.bat this happens

a) The remote admin service is installed and started if needed  
b) Ram size is written to a file  
c) The remote admin service is stopped  
d) Contents of ramsize.txt is echoed.