Posts

Showing posts from June, 2014

Server/System Health Status Report Using Batch Programing in HTML Format

Image
Server/System Health Status Report with Basic Information Using Batch Programing in HTML Format Topic :  Generating the basic Servers/System health information using batch programing in html format for knowing the availability of  the server/system This script can generate the below information Host Information: System, CPU, Processorcer Speed, Host Name, OS Version, Kernel Version, CPU Make, No of Cores, Boot Information  :  Host Name, Uptime in No of Days, Last Reboot,  Network Information  :  IP Address, Subnet mask, DNS, MAC Address, Gateway, Packets Received and Packets Sent. Disk Information  :  Device Name, File System, mount point, Total Disk Size, Availabe Space, Used Space. This script is generated using WMIC, POWERSHELL and simple HTML coding. This script generates in HTML format and also can send  a  email  reports  with a small email client software  sendEmail  which can be downloaded with below link. Sample Report: 

System/Server Health Status using PowerShell

Image
System/Server Health Status using PowerShell Support team or System Administrators who are willing to get the system health check status can use this script. This script has been written in Powershell and it can generate   reports   in HTML format. This script can give you below information: Hardware: To Get Manufacturer, Model, No.   Of   Logical Processors, Installed Memory.   Code:  Get-WmiObject -class Win32_ComputerSystem -ComputerName $Computername | Select-Object Name,Domain,Manufacturer, Model,NumberOfLogicalProcessors,@{ Name = "Installed Memory (GB)" ; Expression = { "{0:N0}" -f( $_.TotalPhysicalMemory / 1gb ) } }            CPU Details: To Get  CPU speed, Current CPU Usage in %,  Code: Get-WmiObject win32_processor | Select-Object SystemName,@{ Expression = { $_.MaxClockSpeed/1000 } ; Name = "CPU Speed in GHz." } ,NumberOfCores,NumberOfLogicalProcessors,@{ Name = "Current CPU Ussage in % " ; Expre