Hello, I am new to programing. I would like to know how to create an easy script to check disk space on a server. Thanking you in advance
Is that a linux or windows server? If linux just type df Code (markup): to get free space if windows, well right click my computer or if you really need a cmd script wmic /node:"%COMPUTERNAME%" LogicalDisk Where DriveType="3" Get DeviceID,FreeSpace|find /I "c:" Code (markup): replace c: with your own drive