| 37 | == Computer Type (chassis type) == |
| 38 | |
| 39 | returns number of chassis type: |
| 40 | {{{ |
| 41 | wmic systemenclosure get chassistypes |
| 42 | }}} |
| 43 | |
| 44 | Values meaning: |
| 45 | {{{ |
| 46 | ;1 Other |
| 47 | ;2 Unknown |
| 48 | ;3 Desktop |
| 49 | ;4 Low Profile Desktop |
| 50 | ;5 Pizza Box |
| 51 | ;6 Mini Tower |
| 52 | ;7 Tower |
| 53 | ;8 Portable |
| 54 | ;9 Laptop |
| 55 | ;10 Notebook |
| 56 | ;11 Hand Held |
| 57 | ;12 Docking Station |
| 58 | ;13 All in One |
| 59 | ;14 Sub Notebook |
| 60 | ;15 Space-Saving |
| 61 | ;16 Lunch Box |
| 62 | ;17 Main System Chassis |
| 63 | ;18 Expansion Chassis |
| 64 | ;19 SubChassis |
| 65 | ;20 Bus Expansion Chassis |
| 66 | ;21 Peripheral Chassis |
| 67 | ;22 Storage Chassis |
| 68 | ;23 Rack Mount Chassis |
| 69 | ;24 Sealed-Case PC |
| 70 | }}} |
| 71 | |
| 72 | === Laptop or Dekstop? === |
| 73 | |
| 74 | {{{ |
| 75 | If ChassisType==8 || ChassisType==9 || ChassisType==10 |
| 76 | Message(ChassisType,"Is a Laptop") |
| 77 | Else |
| 78 | Message(ChassisType,"Is not a Laptop") |
| 79 | EndIf |
| 80 | }}} |
| 81 | |
| 82 | == systeminfo == |