PoshCode Archive  All files named "Chassis-Type.ps1"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for Chassis-Type.ps1

2018-06-10
13:29
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. file: [728d7cd0a6] check-in: [c8b468eb6d] user: Owen08 branch: trunk, size: 2263
13:18
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. file: [189b4f8c54] check-in: [44ffe95c83] user: AlphaSun branch: trunk, size: 2292
13:17
Added: 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. file: [bdba790640] check-in: [e87bfd48cc] user: AlphaSun branch: trunk, size: 2357