code: public static function getOS()
  		{
  			$wmi = Windows::getInstance();
  
  			foreach ($wmi->ExecQuery("SELECT Caption FROM Win32_OperatingSystem") as $os) {
  				return $os->Caption;
  			}
  
  			return "Windows";
  		}
docs: Gets the name of the Operating System
  
  @return string