1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
$cpu = Get-WmiObject win32_Processor | Select-Object Name
$motherboard = Get-WmiObject win32_BaseBoard | Select-Object Manufacturer, Product
$gpu = Get-WmiObject win32_videocontroller | Select-Object Name
$disk = Get-WmiObject win32_LogicalDisk | Select-Object DeviceID, Size, FreeSpace
$ram = Get-WmiObject Win32_PhysicalMemory | Select-Object Capacity
$ram = (((($ram/1024)/1024)/1024))
echo "Information sur le processeur :"
echo "-------------------------------"
$cpu
echo "`n`nInformation sur la carte mère :"
echo "------------------------------"
$motherboard
echo "`n`nInformatio0n sur la carte graphique :"
echo "------------------------------------"
echo "`nName"
echo "----"
$gpu
echo "`n`nInformation sur les disques durs :"
echo "----------------------------------"
$disk
echo "`n`nInformation sur la RAM :"
echo "------------------------"
$ram |
Partager