Posted On March 31, 2019

Quick 1-liner: get system model number

kimconnect 0 comments
blog.KimConnect.com >> Codes >> Quick 1-liner: get system model number
# the 1-liner
wmic computersystem get model,name,manufacturer,systemtype

# Get RAM DIMM Slots
wmic memorychip get Capacity /format:list

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Basic CSS: Add a Negative Margin to an Element

<style>.injected-text {margin-bottom: -25px;text-align: center;}.box {border-style: solid;border-color: black;border-width: 5px;text-align: center;}.yellow-box {background-color: yellow;padding: 10px;}.red-box {background-color: crimson;color: #fff;padding:…

PowerShell: Passing Local Functions to Remote WinRM Sessions

# Dynamic Credential Method 1 $who = whoami if ($who.substring($who.length-2, 2) -eq "-a"){$username=$who;} else {$username=$who+"-admin";}…

Puppet Client Server Lab Setup

Server # Setup client machine name sudo vim /etc/hosts ## Insert this line ## xx.xx.xx.xx…