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

PowerShell: Add Accounts into Local Administrators Group

# addAccountToLocalAdmins.ps1# Requires: PowerShell Version 4.0+$accountToAdd='ServerAdmins'$groupName="Administrators"$servers=@( "CONCU1", 'CONCU2', 'CONCU100', 'CONCU80665', 'CONCU6547354', 'CONWHAT989', 'CONCU3')$servers|%{ $session=new-pssession $_…

PowerShell: Microsoft Exchange Active Directory Integration

Assuming that Exchange is already set and in production, it's often advisable to record its…

PowerShell: Get ‘Size on Disk’ of Files in Windows

There are many methods of attempting to obtain "size on disk" values of files in…