code: public static function getHostname()
  		{
  			$wmi = Windows::getInstance();
  
  			foreach ($wmi->ExecQuery("SELECT Name FROM Win32_ComputerSystem") as $cs) {
  				return $cs->Name;
  			}
  
  			return "Unknown";
  		}
docs: Gets the hostname
  
  @return string