PoshCode Archive  Hex Artifact Content

Artifact 189b4f8c544c67c25d6deed0953cd9a3195146293359267e39f2cc370cde20ca:

  • File Chassis-Type.ps1 — part of check-in [44ffe95c83] at 2018-06-10 13:18:28 on branch trunk — Ever wonder what kind of chassis your computer thinks it’s running on? Have a need to know if you’re RDP’d into a physical or virtual system? This script can probably answer the question for you. This script was adapted to PowerShell from a VBScript I’ve had for a while. It uses WMI to determine the Chassis type and translates the reported numerical code into decipherable text. – Thought i would rewrite this code using the switch function rather than elseif. Easier to read and less code to write. (user: AlphaSun size: 2292)

A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.