.NET Logo
Welcome Guest Search | Active Topics | Members | Log In | Register

การดูข้อมูลเกี่ยวกับ hardware ของเครื่องคอมพิวเตอร์และ os Options · View
paedotnet
Posted: Sunday, September 28, 2008 9:54:32 PM

Rank: มือเทพ
Groups: Member

Joined: 12/6/2007
Posts: 345
Location: bkk

การดูข้อมูลในเครื่องคอมฯ
ในการดูข้อมูลเกี่ยวกับในเครื่องคอมฯ เราสามารถใช้คำสั่ง


Get-WmiObject Win32_OperatingSystem


และ


Get-WmiObject Win32_ComputerSystem


ถ้าเราต้องการดู System Device ก็สามารถเขียนได้ดังนี้

Get-WmiObject Win32_OperatingSystem | Select SystemDevice

การดู Window Product Activationใช้คำสั่งดังนี้


Get-WmiObject Win32_WindowsProductActivation

การดูข้อมูลต่างๆสำหรับ hardware

ถ้าต้องการดูข้อมูลใน Main Memory เราสามารถใช้คำสั่ง 


Get-WmiObject Win32_MemoryDevice

ถ้าต้องการดูข้อมูลใน processor เราสามารถใช้คำสั่ง


 Get-WmiObject Win32_Processor

ถ้าต้องการดูข้อมูลเกี่ยวกับ ระบบ อุปกรณ์เสียงในเครื่องก็ใช้คำสั่ง


Get-WmiObject Win32_SoundDevice

ถ้าต้องการดูข้อมูลของไดร์ฟ CD หรือ DVD ก็ใช้คำสั่ง


Get-WmiObject  Win32_CDRomDrive

ถ้าต้องการดูข้อมูลเกี่ยวกับ USB ก็ใช้คำสั่ง


Get-WmiObject Win32_USBController

ถ้าต้องการดูข้อมูลเกี่ยวกับ keyboard ก็ใช้คำสั่ง


Get-WmiObject Win32_Keyboard

การดูข้อมูลหน่วยความจำที่โปรเซสกำลังทำงาน ใช้คำสั่ง


Get-WmiObject Win32_PerfRawData_PerfProc_Process


[With great power comes great responsibility]
hassadin
Posted: Thursday, October 16, 2008 1:23:26 PM
Rank: มืออาชีพ
Groups: Member

Joined: 8/15/2008
Posts: 33
Location: chonburi

สุดยอดครับ

Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.


Sponsored by