wmic DISKDRIVE
will give you hard drive data, and wmic COMPUTERSYSTEM GET Model
will list your computer's model.Get-WmiObject
cmdlet. This tool allows you to extract detailed hardware information from your system. It's perfect for scripting and automation, offering a modern and flexible approach compared to traditional methods.