Ceci est une ancienne révision du document !


WMI et disques durs

Quels classes WMI utiliser ?

Les classes WMI suivantes sont couramment utilisées pour gérer les disques durs et les partitions:

Win32_DiskDrive: cette classe représente un disque dur physique installé sur le système et fournit des informations telles que le nom, le fabricant, le numéro de série, la taille, le modèle, l'interface, etc.

Win32_LogicalDisk: cette classe représente une partition ou un volume logique d'un disque dur et fournit des informations telles que le nom de lecteur, la lettre de lecteur, le type de système de fichiers, la taille, l'espace libre, etc.

Win32_DiskPartition: cette classe représente une partition physique sur un disque dur et fournit des informations telles que l'index de partition, la taille de la partition, l'offset de partition, le type de partition, etc.

Win32_Volume: cette classe représente un volume sur un disque dur et fournit des informations telles que le nom du volume, la lettre de lecteur, le type de système de fichiers, la taille, l'espace libre, etc.

Ces classes peuvent être utilisées pour obtenir des informations sur les disques durs et les partitions, les gérer, les formater, les redimensionner, les supprimer, etc.

Comparaison entre un Win32_LogicalDisk et Win32_Volume

Win32_LogicalDiskWin32_Volume
Access = 0;
Caption = “C:”;Caption = “C:\\”;
Compressed = FALSE;Compressed = FALSE;
Description = “Disque monté local”;
DeviceID = “C:”;DriveLetter = “C:”;
DriveType = 3;DriveType = 3;
FileSystem = “NTFS”;FileSystem = “NTFS”;
FreeSpace = “289824768000”;FreeSpace = “289821196288”;
MaximumComponentLength = 255;MaximumFileNameLength = 255;
MediaType = 12;
Name = “C:”;Name = “C:\\”;
QuotasDisabled = TRUE;QuotasEnabled = FALSE;
QuotasIncomplete = FALSE;QuotasIncomplete = FALSE;
QuotasRebuilding = FALSE;QuotasRebuilding = FALSE;
Size = “510968983552”;Capacity = “510968983552”;
SupportsDiskQuotas = TRUE;SupportsDiskQuotas = TRUE;
SupportsFileBasedCompression = TRUE;SupportsFileBasedCompression = TRUE;
VolumeDirty = FALSE;DirtyBitSet = FALSE;
VolumeName = “”;
VolumeSerialNumber = “3494A201”; en hexa SerialNumber = 882156033; en décimal = #3494A201
Automount = TRUE;
BlockSize = “4096”;
BootVolume = TRUE;
IndexingEnabled = TRUE;
PageFilePresent = TRUE;
SystemVolume = FALSE;
DeviceID = “\\\\?\\Volume{894b76ef-0000-0000-0000-602200000000}\\”;

Win32_DiskDrive

La classe Win32_DiskDrive représente un lecteur de disque physique tel qu’il est vu par un ordinateur fonctionnant avec le système d’exploitation Win32.
Toute interface vers un lecteur de disque physique Win32 est un descendant (ou membre) de cette classe.
Les fonctionnalités du lecteur de disque vu à travers cet objet correspondent aux caractéristiques logiques et de gestion du disque.
Dans certains cas; ceci peut ne pas refléter les réelles caractéristiques physiques du périphérique.
Tout objet qui serait basé sur un autre périphérique logique ne serait pas membre de cette classe. Exemple : IDE Fixed Disk.

__PATH
\\PC-THIERRY\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYSICALDRIVE0"

[1] instance of win32_diskdrive show

instance of Win32_DiskDrive
{
	BytesPerSector = 512;
	Capabilities = {3, 4, 10};
	CapabilityDescriptions = {“Random Access”, “Supports Writing”, “SMART Notification”};
	Caption = “ST2000DM001-1ER164”;
	ConfigManagerErrorCode = 0;
	ConfigManagerUserConfig = FALSE;
	CreationClassName = “Win32_DiskDrive”;
	Description = “Lecteur de disque”;
	DeviceID = “\\\\.\\PHYSICALDRIVE0”;
	FirmwareRevision = “CC61”;
	Index = 0;
	InterfaceType = “IDE”;
	Manufacturer = “(Lecteurs de disque standard)”;
	MediaLoaded = TRUE;
	MediaType = “Fixed hard disk media”;
	Model = “ST2000DM001-1ER164”;
	Name = “\\\\.\\PHYSICALDRIVE0”;
	Partitions = 1;
	PNPDeviceID = “SCSI\\DISK&VEN_ST2000DM&PROD_001-1ER164\\4&61B3D44&0&000000”;
	SCSIBus = 0;
	SCSILogicalUnit = 0;
	SCSIPort = 0;
	SCSITargetId = 0;
	SectorsPerTrack = 63;
	SerialNumber = “            W4Z3A36Q”;
	Signature = 1431655765;
	Size = “2000396321280”;
	Status = “OK”;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
	TotalCylinders = “243201”;
	TotalHeads = 255;
	TotalSectors = “3907024065”;
	TotalTracks = “62016255”;
	TracksPerCylinder = 255;
};

instance of Win32_DiskDrive
{
	BytesPerSector = 512;
	Capabilities = {3, 4, 10};
	CapabilityDescriptions = {“Random Access”, “Supports Writing”, “SMART Notification”};
	Caption = “Intenso SSD SATAIII”;
	ConfigManagerErrorCode = 0;
	ConfigManagerUserConfig = FALSE;
	CreationClassName = “Win32_DiskDrive”;
	Description = “Lecteur de disque”;
	DeviceID = “\\\\.\\PHYSICALDRIVE1”;
	FirmwareRevision = “T0929A0”;
	Index = 1;
	InterfaceType = “IDE”;
	Manufacturer = “(Lecteurs de disque standard)”;
	MediaLoaded = TRUE;
	MediaType = “Fixed hard disk media”;
	Model = “Intenso SSD SATAIII”;
	Name = “\\\\.\\PHYSICALDRIVE1”;
	Partitions = 3;
	PNPDeviceID = “SCSI\\DISK&VEN_INTENSO&PROD_SSD\\4&61B3D44&0&000400”;
	SCSIBus = 0;
	SCSILogicalUnit = 0;
	SCSIPort = 0;
	SCSITargetId = 4;
	SectorsPerTrack = 63;
	SerialNumber = “AA000000000000000494”;
	Signature = 2303424239;
	Size = “512105932800”;
	Status = “OK”;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
	TotalCylinders = “62260”;
	TotalHeads = 255;
	TotalSectors = “1000206900”;
	TotalTracks = “15876300”;
	TracksPerCylinder = 255;
};

Win32_Volume

La classe Win32_Volume représente une zone de stockage sur un disque dur.
La classe renvoie les volumes locaux qui sont formatés, non formatés, montés ou hors connexion.
Un volume est formaté par l’utilisation d’un système de fichiers tel que FAT ou NTFS, et peut se voir attribuer une lettre d’unité.
Un disque dur peut comporter plusieurs volumes, et les volumes peuvent également avoir plusieurs disques.
La classe Win32_Volume ne prend pas en charge la gestion du lecteur de disquette.

IDENTIFICATION

D’après mes tests on doit pouvoir identifier de manière unique un Volume avec la propriété DeviceID.
Cela même si le volume change de lettre (propriété DriveLetter)

LIAISON AVEC UN LOGICALDISK

On doit pouvoir utiliser la propriété DriveLetter pour la mettre en correspondance avec la Propriété DeviceID du Win32_LogicalDisk

Win32_Volume.DriveLetterWin32_LogicalDisk.DeviceID

Mais seulement dans le contexte présent, a l'instant T.

__PATH
\\PC-THIERRY\root\cimv2:Win32_Volume.DeviceID="\\?\Volume{55555555-0000-0000-0000-100000000000}\

[2] instance of win32_volume show
instance of Win32_Volume
{
	Automount = TRUE;
	BlockSize = “4096”;
	BootVolume = FALSE;
	Capacity = “2000396742656”;
	Caption = “J:\\”;
	Compressed = FALSE;
	DeviceID = “\\\\?\\Volume{55555555-0000-0000-0000-100000000000}\\”;
	DirtyBitSet = FALSE;
	DriveLetter = “J:”;
	DriveType = 3;
	FileSystem = “NTFS”;
	FreeSpace = “1223464660992”;
	IndexingEnabled = TRUE;
	Label = “SATA2T”;
	MaximumFileNameLength = 255;
	Name = “J:\\”;
	PageFilePresent = FALSE;
	QuotasEnabled = FALSE;
	QuotasIncomplete = FALSE;
	QuotasRebuilding = FALSE;
	SerialNumber = 39004685;
	SupportsDiskQuotas = TRUE;
	SupportsFileBasedCompression = TRUE;
	SystemName = “PC-THIERRY”;
	SystemVolume = FALSE;
};

instance of Win32_Volume
{
	Automount = TRUE;
	BlockSize = “4096”;
	BootVolume = FALSE;
	Capacity = “575664128”;
	Caption = “\\\\?\\Volume{894b76ef-0000-0000-0000-100000000000}\\”;
	Compressed = FALSE;
	DeviceID = “\\\\?\\Volume{894b76ef-0000-0000-0000-100000000000}\\”;
	DirtyBitSet = FALSE;
	DriveType = 3;
	FileSystem = “NTFS”;
	FreeSpace = “541483008”;
	IndexingEnabled = TRUE;
	Label = “Réservé au système”;
	MaximumFileNameLength = 255;
	Name = “\\\\?\\Volume{894b76ef-0000-0000-0000-100000000000}\\”;
	PageFilePresent = FALSE;
	QuotasEnabled = FALSE;
	QuotasIncomplete = FALSE;
	QuotasRebuilding = FALSE;
	SerialNumber = 2593175685;
	SupportsDiskQuotas = TRUE;
	SupportsFileBasedCompression = TRUE;
	SystemName = “PC-THIERRY”;
	SystemVolume = TRUE;
};

instance of Win32_Volume
{
	Automount = TRUE;
	BlockSize = “4096”;
	BootVolume = TRUE;
	Capacity = “510968983552”;
	Caption = “C:\\”;
	Compressed = FALSE;
	DeviceID = “\\\\?\\Volume{894b76ef-0000-0000-0000-602200000000}\\”;
	DirtyBitSet = FALSE;
	DriveLetter = “C:”;
	DriveType = 3;
	FileSystem = “NTFS”;
	FreeSpace = “289821196288”;
	IndexingEnabled = TRUE;
	MaximumFileNameLength = 255;
	Name = “C:\\”;
	PageFilePresent = TRUE;
	QuotasEnabled = FALSE;
	QuotasIncomplete = FALSE;
	QuotasRebuilding = FALSE;
	SerialNumber = 882156033;
	SupportsDiskQuotas = TRUE;
	SupportsFileBasedCompression = TRUE;
	SystemName = “PC-THIERRY”;
	SystemVolume = FALSE;
};

instance of Win32_Volume
{
	Automount = TRUE;
	BlockSize = “4096”;
	BootVolume = FALSE;
	Capacity = “564129792”;
	Caption = “\\\\?\\Volume{894b76ef-0000-0000-0000-801a77000000}\\”;
	Compressed = FALSE;
	DeviceID = “\\\\?\\Volume{894b76ef-0000-0000-0000-801a77000000}\\”;
	DirtyBitSet = FALSE;
	DriveType = 3;
	FileSystem = “NTFS”;
	FreeSpace = “62222336”;
	IndexingEnabled = TRUE;
	MaximumFileNameLength = 255;
	Name = “\\\\?\\Volume{894b76ef-0000-0000-0000-801a77000000}\\”;
	PageFilePresent = FALSE;
	QuotasEnabled = FALSE;
	QuotasIncomplete = FALSE;
	QuotasRebuilding = FALSE;
	SerialNumber = 1447122235;
	SupportsDiskQuotas = TRUE;
	SupportsFileBasedCompression = TRUE;
	SystemName = “PC-THIERRY”;
	SystemVolume = FALSE;
};

instance of Win32_Volume
{
	Automount = TRUE;
	BlockSize = “512”;
	BootVolume = FALSE;
	Capacity = “16106127360”;
	Caption = “G:\\”;
	DeviceID = “\\\\?\\Volume{cd9a8c5a-e365-11ed-8c1f-d89ef32a7926}\\”;
	DriveLetter = “G:”;
	DriveType = 3;
	FileSystem = “FAT32”;
	FreeSpace = “16106127360”;
	Label = “visithierry@gmail.com - Googl…”;
	MaximumFileNameLength = 256;
	Name = “G:\\”;
	PageFilePresent = FALSE;
	SerialNumber = 428019990;
	SupportsDiskQuotas = FALSE;
	SupportsFileBasedCompression = FALSE;
	SystemName = “PC-THIERRY”;
	SystemVolume = FALSE;
};

instance of Win32_Volume
{
	Automount = TRUE;
	BlockSize = “512”;
	BootVolume = FALSE;
	Capacity = “16106127360”;
	Caption = “H:\\”;
	DeviceID = “\\\\?\\Volume{cd9a8c63-e365-11ed-8c1f-d89ef32a7926}\\”;
	DriveLetter = “H:”;
	DriveType = 3;
	FileSystem = “FAT32”;
	FreeSpace = “16106127360”;
	Label = “upl60610@gmail.com - Google D…”;
	MaximumFileNameLength = 256;
	Name = “H:\\”;
	PageFilePresent = FALSE;
	SerialNumber = 428019990;
	SupportsDiskQuotas = FALSE;
	SupportsFileBasedCompression = FALSE;
	SystemName = “PC-THIERRY”;
	SystemVolume = FALSE;
};

instance of Win32_Volume
{
	Automount = TRUE;
	Caption = “D:\\”;
	DeviceID = “\\\\?\\Volume{5a5bd73b-6335-11eb-8b80-806e6f6e6963}\\”;
	DriveLetter = “D:”;
	DriveType = 5;
	Name = “D:\\”;
	SystemName = “PC-THIERRY”;
};                       

Win32_LogicalDisk

La classe Win32_LogicalDisk représente une source de données qui correspond à un périphérique de stockage sur un système Win32.
La classe renvoie les informations du disque local ainsi que des disques logiques mappés.
Cependant la méthode recommandée est d’utiliser cette classe pour obtenir des informations sur des disques locaux et d’utiliser la classe Win32_MappedLogicalDisk pour obtenir des informations sur des disques logiques mappés.

__PATH
\\PC-THIERRY\root\cimv2:Win32_LogicalDisk.DeviceID="C:"

[3] instance of win32_logicaldisk show
instance of Win32_LogicalDisk
{
	Access = 0;
	Caption = “C:”;
	Compressed = FALSE;
	CreationClassName = “Win32_LogicalDisk”;
	Description = “Disque monté local”;
	DeviceID = “C:”;
	DriveType = 3;
	FileSystem = “NTFS”;
	FreeSpace = “289824768000”;
	MaximumComponentLength = 255;
	MediaType = 12;
	Name = “C:”;
	QuotasDisabled = TRUE;
	QuotasIncomplete = FALSE;
	QuotasRebuilding = FALSE;
	Size = “510968983552”;
	SupportsDiskQuotas = TRUE;
	SupportsFileBasedCompression = TRUE;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
	VolumeDirty = FALSE;
	VolumeName = “”;
	VolumeSerialNumber = “3494A201”;
};

instance of Win32_LogicalDisk
{
	Caption = “D:”;
	CreationClassName = “Win32_LogicalDisk”;
	Description = “Disque CD-ROM”;
	DeviceID = “D:”;
	DriveType = 5;
	MediaType = 11;
	Name = “D:”;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
};

instance of Win32_LogicalDisk
{
	Access = 0;
	Caption = “G:”;
	Compressed = FALSE;
	CreationClassName = “Win32_LogicalDisk”;
	Description = “Disque monté local”;
	DeviceID = “G:”;
	DriveType = 3;
	FileSystem = “FAT32”;
	FreeSpace = “16106127360”;
	MaximumComponentLength = 256;
	MediaType = 12;
	Name = “G:”;
	Size = “16106127360”;
	SupportsDiskQuotas = FALSE;
	SupportsFileBasedCompression = FALSE;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
	VolumeName = “visithierry@gmail.com - Googl…”;
	VolumeSerialNumber = “19831116”;
};

instance of Win32_LogicalDisk
{
	Access = 0;
	Caption = “H:”;
	Compressed = FALSE;
	CreationClassName = “Win32_LogicalDisk”;
	Description = “Disque monté local”;
	DeviceID = “H:”;
	DriveType = 3;
	FileSystem = “FAT32”;
	FreeSpace = “16106127360”;
	MaximumComponentLength = 256;
	MediaType = 12;
	Name = “H:”;
	Size = “16106127360”;
	SupportsDiskQuotas = FALSE;
	SupportsFileBasedCompression = FALSE;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
	VolumeName = “upl60610@gmail.com - Google D…”;
	VolumeSerialNumber = “19831116”;
};

instance of Win32_LogicalDisk
{
	Access = 0;
	Caption = “J:”;
	Compressed = FALSE;
	CreationClassName = “Win32_LogicalDisk”;
	Description = “Disque monté local”;
	DeviceID = “J:”;
	DriveType = 3;
	FileSystem = “NTFS”;
	FreeSpace = “1223464660992”;
	MaximumComponentLength = 255;
	MediaType = 12;
	Name = “J:”;
	QuotasDisabled = TRUE;
	QuotasIncomplete = FALSE;
	QuotasRebuilding = FALSE;
	Size = “2000396742656”;
	SupportsDiskQuotas = TRUE;
	SupportsFileBasedCompression = TRUE;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
	VolumeDirty = FALSE;
	VolumeName = “SATA2T”;
	VolumeSerialNumber = “02532A0D”;
};                                                  

Win32_DiskPartition

La classe Win32_DiskPartition représente les possibilités et la capacité de gestion d’une zone partitionnée du disque physique sur un système Win32.
Exemple : Disk n° 0, Partition n° 1.

__PATH
\\PC-THIERRY\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #0"

[4] instance of win32_diskpartition show
instance of Win32_DiskPartition
{
	BlockSize = “512”;
	Bootable = FALSE;
	BootPartition = FALSE;
	Caption = “Disque n° 0, partition n° 0”;
	CreationClassName = “Win32_DiskPartition”;
	Description = “Système de fichiers installable”;
	DeviceID = “Disk #0, Partition #0”;
	DiskIndex = 0;
	Index = 0;
	Name = “Disque n° 0, partition n° 0”;
	NumberOfBlocks = “3907024896”;
	PrimaryPartition = TRUE;
	Size = “2000396746752”;
	StartingOffset = “1048576”;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
	Type = “Installable File System”;
};

instance of Win32_DiskPartition
{
	BlockSize = “512”;
	Bootable = TRUE;
	BootPartition = TRUE;
	Caption = “Disque n° 1, partition n° 0”;
	CreationClassName = “Win32_DiskPartition”;
	Description = “Système de fichiers installable”;
	DeviceID = “Disk #1, Partition #0”;
	DiskIndex = 1;
	Index = 0;
	Name = “Disque n° 1, partition n° 0”;
	NumberOfBlocks = “1124352”;
	PrimaryPartition = TRUE;
	Size = “575668224”;
	StartingOffset = “1048576”;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
	Type = “Installable File System”;
};

instance of Win32_DiskPartition
{
	BlockSize = “512”;
	Bootable = FALSE;
	BootPartition = FALSE;
	Caption = “Disque n° 1, partition n° 1”;
	CreationClassName = “Win32_DiskPartition”;
	Description = “Système de fichiers installable”;
	DeviceID = “Disk #1, Partition #1”;
	DiskIndex = 1;
	Index = 1;
	Name = “Disque n° 1, partition n° 1”;
	NumberOfBlocks = “997986304”;
	PrimaryPartition = TRUE;
	Size = “510968987648”;
	StartingOffset = “576716800”;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
	Type = “Installable File System”;
};

instance of Win32_DiskPartition
{
	BlockSize = “512”;
	Bootable = FALSE;
	BootPartition = FALSE;
	Caption = “Disque n° 1, partition n° 2”;
	CreationClassName = “Win32_DiskPartition”;
	Description = “Unknown”;
	DeviceID = “Disk #1, Partition #2”;
	DiskIndex = 1;
	Index = 2;
	Name = “Disque n° 1, partition n° 2”;
	NumberOfBlocks = “1101824”;
	PrimaryPartition = TRUE;
	Size = “564133888”;
	StartingOffset = “511545704448”;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
	Type = “Unknown”;
};
                      

Win32_PhysicalElementsOfDiskDrive

L'association Win32_PhysicalElementsOfDiskDrive définit le mappage entre un lecteur de disque et les composants physiques qui l’implémentent.

__PATH
xxx

[5] instance of win32_physicalelementsofdiskdrive show
Ne retourne rien sur mon PC

Win32_PhysicalMedia

La classe Win32_PhysicaMedia représente tous types de documentations ou moyens de stockage tels que des bandes, des CD-ROM, etc.

__PATH
\\PC-THIERRY\root\cimv2:Win32_PhysicalMedia.Tag="\\\\.\\PHYSICALDRIVE0"

[6] instance of win32_physicalmedia show
instance of Win32_PhysicalMedia
{
	SerialNumber = “            W4Z3A36Q”;
	Tag = “\\\\.\\PHYSICALDRIVE0”;
};

instance of Win32_PhysicalMedia
{
	SerialNumber = “AA000000000000000494”;
	Tag = “\\\\.\\PHYSICALDRIVE1”;
};

instance of Win32_PhysicalMedia
{
	Tag = “\\\\.\\CDROM0”;
};

Win32_SystemPartitions

La classe Win32_SystemPartitions représente une association entre un ordinateur et une partition de disque sur ce système

__PATH
\\PC-THIERRY\root\cimv2:Win32_SystemPartitions.GroupComponent="\\\\PC-THIERRY\\root\\cimv2:Win32_ComputerSystem.Name=\"PC-THIERRY\"",PartComponent="\\\\PC-THIERRY\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #0, Partition #0\""

[7] instance of win32_systempartitions show
instance of Win32_SystemPartitions
{
	GroupComponent = “\\\\PC-THIERRY\\root\\cimv2:Win32_ComputerSystem.Name=\”PC-THIERRY\“”;
	PartComponent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskPartition.DeviceID=\”Disk #0, Partition #0\“”;
};

instance of Win32_SystemPartitions
{
	GroupComponent = “\\\\PC-THIERRY\\root\\cimv2:Win32_ComputerSystem.Name=\”PC-THIERRY\“”;
	PartComponent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskPartition.DeviceID=\”Disk #1, Partition #0\“”;
};

instance of Win32_SystemPartitions
{
	GroupComponent = “\\\\PC-THIERRY\\root\\cimv2:Win32_ComputerSystem.Name=\”PC-THIERRY\“”;
	PartComponent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskPartition.DeviceID=\”Disk #1, Partition #1\“”;
};

instance of Win32_SystemPartitions
{
	GroupComponent = “\\\\PC-THIERRY\\root\\cimv2:Win32_ComputerSystem.Name=\”PC-THIERRY\“”;
	PartComponent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskPartition.DeviceID=\”Disk #1, Partition #2\“”;
};

Win32_CDROMDrive

__PATH
\\PC-THIERRY\root\cimv2:Win32_CDROMDrive.DeviceID="SCSI\\CDROM&VEN_PLDS&PROD_DVD+-RW_DU-8A5LH\\4&61B3D44&0&000100"

[8] instance of win32_cdromdrive show

instance of Win32_CDROMDrive
{
	Availability = 3;
	Capabilities = {3, 4, 7};
	CapabilityDescriptions = {“Random Access”, “ Supports writing”, “ Supports Removable Media”};
	Caption = “PLDS DVD+-RW DU-8A5LH”;
	CompressionMethod = “Unknown”;
	ConfigManagerErrorCode = 0;
	ConfigManagerUserConfig = FALSE;
	CreationClassName = “Win32_CDROMDrive”;
	Description = “Lecteur de CD-ROM”;
	DeviceID = “SCSI\\CDROM&VEN_PLDS&PROD_DVD+-RW_DU-8A5LH\\4&61B3D44&0&000100”;
	Drive = “D:”;
	Id = “D:”;
	Manufacturer = “(Lecteurs de CD-ROM standard)”;
	MediaLoaded = FALSE;
	MediaType = “DVD Writer”;
	MfrAssignedRevisionLevel = “6D1M”;
	Name = “PLDS DVD+-RW DU-8A5LH”;
	PNPDeviceID = “SCSI\\CDROM&VEN_PLDS&PROD_DVD+-RW_DU-8A5LH\\4&61B3D44&0&000100”;
	SCSIBus = 0;
	SCSILogicalUnit = 0;
	SCSIPort = 0;
	SCSITargetId = 1;
	Status = “OK”;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
	TransferRate = -1;
};

Win32_IDEController

La classe Win32_IDEController gère les capacités d’un périphérique contrôleur IDE.

__PATH
\\PC-THIERRY\root\cimv2:Win32_IDEController.DeviceID="PCI\\VEN_8086&DEV_A282&SUBSYS_07A11028&REV_00\\3&11583659&0&B8"

[9] instance of win32_idecontroller show
instance of Win32_IDEController
{
	Caption = “Intel(R) 300 Series Chipset Family SATA AHCI Controller”;
	ConfigManagerErrorCode = 0;
	ConfigManagerUserConfig = FALSE;
	CreationClassName = “Win32_IDEController”;
	Description = “Intel(R) 300 Series Chipset Family SATA AHCI Controller”;
	DeviceID = “PCI\\VEN_8086&DEV_A282&SUBSYS_07A11028&REV_00\\3&11583659&0&B8”;
	Manufacturer = “Intel Corporation”;
	Name = “Intel(R) 300 Series Chipset Family SATA AHCI Controller”;
	PNPDeviceID = “PCI\\VEN_8086&DEV_A282&SUBSYS_07A11028&REV_00\\3&11583659&0&B8”;
	ProtocolSupported = 37;
	Status = “OK”;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
};

Win32_SCSIController

La classe Win32_SCSIController représente un contrôleur SCSI sur un système Win32.
Exemple : Adaptec AHA-2940UW.

__PATH
\\PC-THIERRY\root\cimv2:Win32_SCSIController.DeviceID="ROOT\\SPACEPORT\\0000"

[10] instance of win32_scsicontroller show

instance of Win32_SCSIController
{
	Availability = 3;
	Caption = “Contrôleur des espaces de stockage Microsoft”;
	ConfigManagerErrorCode = 0;
	ConfigManagerUserConfig = FALSE;
	CreationClassName = “Win32_SCSIController”;
	Description = “Contrôleur des espaces de stockage Microsoft”;
	DeviceID = “ROOT\\SPACEPORT\\0000”;
	DriverName = “spaceport”;
	Manufacturer = “Microsoft”;
	Name = “Contrôleur des espaces de stockage Microsoft”;
	PNPDeviceID = “ROOT\\SPACEPORT\\0000”;
	ProtocolSupported = 2;
	Status = “OK”;
	StatusInfo = 3;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
};

instance of Win32_SCSIController
{
	Availability = 3;
	Caption = “Contrôleur de bouclage VHD Microsoft”;
	ConfigManagerErrorCode = 0;
	ConfigManagerUserConfig = FALSE;
	CreationClassName = “Win32_SCSIController”;
	Description = “Contrôleur de bouclage VHD Microsoft”;
	DeviceID = “{8E7BD593-6E6C-4C52-86A6-77175494DD8E}\\MSVHDHBA\\1&3030E83&0&01”;
	DriverName = “vhdmp”;
	Manufacturer = “Microsoft”;
	Name = “Contrôleur de bouclage VHD Microsoft”;
	PNPDeviceID = “{8E7BD593-6E6C-4C52-86A6-77175494DD8E}\\MSVHDHBA\\1&3030E83&0&01”;
	ProtocolSupported = 2;
	Status = “OK”;
	StatusInfo = 3;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
};

Win32_OperatingSystem

La classe Win32_OperatingSystem représente un système d’exploitation installé sur un ordinateur Win32.
Tout système d’exploitation qui peut être installé sur un système Win32 est un descendant (ou membre) de cette classe
Exemple : Microsoft Windows 95.

Cette classe peut nous servir a déterminer:

  • Le disque d'amorçage : BootDevice = “\\Device\\HarddiskVolume2”;
  • Le disque réservé au système : SystemDevice = “\\Device\\HarddiskVolume3”;
  • Le répertoire système : SystemDirectory = “C:\\WINDOWS\\system32”;
  • Le volume système : SystemDrive = “C:”;
  • Le répertoire de Windows : WindowsDirectory = “C:\\WINDOWS”;
__PATH
\\PC-THIERRY\root\cimv2:Win32_OperatingSystem=@

[11] instance of win32_operatingsystem show

instance of Win32_OperatingSystem
{
	BootDevice = “\\Device\\HarddiskVolume2”;
	BuildNumber = “19045”;
	BuildType = “Multiprocessor Free”;
	Caption = “Microsoft Windows 10 Professionnel”;
	CodeSet = “1252”;
	CountryCode = “33”;
	CreationClassName = “Win32_OperatingSystem”;
	CSCreationClassName = “Win32_ComputerSystem”;
	CSName = “PC-THIERRY”;
	CurrentTimeZone = 120;
	DataExecutionPrevention_32BitApplications = TRUE;
	DataExecutionPrevention_Available = TRUE;
	DataExecutionPrevention_Drivers = TRUE;
	DataExecutionPrevention_SupportPolicy = 2;
	Debug = FALSE;
	Description = “”;
	Distributed = FALSE;
	EncryptionLevel = 256;
	ForegroundApplicationBoost = 2;
	FreePhysicalMemory = “3962432”;
	FreeSpaceInPagingFiles = “3131572”;
	FreeVirtualMemory = “3332384”;
	InstallDate = “20200717184738.000000+060”;
	LastBootUpTime = “20230413014611.500000+120”;
	LocalDateTime = “20230427163042.245000+120”;
	Locale = “040c”;
	Manufacturer = “Microsoft Corporation”;
	MaxNumberOfProcesses = 4294967295;
	MaxProcessMemorySize = “137438953344”;
	MUILanguages = {“fr-FR”};
	Name = “Microsoft Windows 10 Professionnel|C:\\WINDOWS|\\Device\\Harddisk1\\Partition2”;
	NumberOfLicensedUsers = 0;
	NumberOfProcesses = 273;
	NumberOfUsers = 2;
	OperatingSystemSKU = 48;
	Organization = “”;
	OSArchitecture = “64 bits”;
	OSLanguage = 1036;
	OSProductSuite = 256;
	OSType = 18;
	PortableOperatingSystem = FALSE;
	Primary = TRUE;
	ProductType = 1;
	RegisteredUser = “thierry”;
	SerialNumber = “00330-80000-00000-AA946”;
	ServicePackMajorVersion = 0;
	ServicePackMinorVersion = 0;
	SizeStoredInPagingFiles = “3538944”;
	Status = “OK”;
	SuiteMask = 272;
	SystemDevice = “\\Device\\HarddiskVolume3”;
	SystemDirectory = “C:\\WINDOWS\\system32”;
	SystemDrive = “C:”;
	TotalVirtualMemorySize = “15981832”;
	TotalVisibleMemorySize = “12442888”;
	Version = “10.0.19045”;
	WindowsDirectory = “C:\\WINDOWS”;
};

Win32_PortConnector

La classe Win32_PortConnector représente des ports de connexion physique, tels qu’une prise mâle DB-25, Centronics, ou PS/2.

__PATH
\\PC-THIERRY\root\cimv2:Win32_PortConnector.Tag="Port Connector 0"

[12] instance of win32_portconnector show

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {61};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “PS2Mouse”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 14;
	Tag = “Port Connector 0”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {61};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “PS2Keyboard”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 13;
	Tag = “Port Connector 1”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {39};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “LAN”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 31;
	Tag = “Port Connector 2”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {0};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “DisplayPort 2”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 28;
	Tag = “Port Connector 3”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {0};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “DisplayPort 1”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 28;
	Tag = “Port Connector 4”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {21, 2};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Serial”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 9;
	Tag = “Port Connector 5”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {0};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “HDMI”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 28;
	Tag = “Port Connector 6”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {88};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Line-out”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 29;
	Tag = “Port Connector 7”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {88};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Line-in/Mic”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 29;
	Tag = “Port Connector 8”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {64};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Rear USB 3.0”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 16;
	Tag = “Port Connector 9”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {64};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Rear USB 3.0”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 16;
	Tag = “Port Connector 10”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {64};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Rear USB 3.0”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 16;
	Tag = “Port Connector 11”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {64};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Rear USB 3.0”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 16;
	Tag = “Port Connector 12”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {64};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Rear USB 2.0”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 16;
	Tag = “Port Connector 13”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {64};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Rear USB 2.0”;
	InternalReferenceDesignator = “”;
	Name = “Connecteur de ports”;
	PortType = 16;
	Tag = “Port Connector 14”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {0};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “”;
	InternalReferenceDesignator = “SATA0”;
	Name = “Connecteur de ports”;
	PortType = 32;
	Tag = “Port Connector 15”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {0};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “”;
	InternalReferenceDesignator = “SATA1”;
	Name = “Connecteur de ports”;
	PortType = 32;
	Tag = “Port Connector 16”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {0};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “”;
	InternalReferenceDesignator = “SATA2”;
	Name = “Connecteur de ports”;
	PortType = 32;
	Tag = “Port Connector 17”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {0};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “”;
	InternalReferenceDesignator = “FAN_CPU”;
	Name = “Connecteur de ports”;
	PortType = 0;
	Tag = “Port Connector 18”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {0};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “”;
	InternalReferenceDesignator = “INTRUDER”;
	Name = “Connecteur de ports”;
	PortType = 0;
	Tag = “Port Connector 19”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {0};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “”;
	InternalReferenceDesignator = “INT_SPKR”;
	Name = “Connecteur de ports”;
	PortType = 0;
	Tag = “Port Connector 20”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {0};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “”;
	InternalReferenceDesignator = “THRM_2”;
	Name = “Connecteur de ports”;
	PortType = 0;
	Tag = “Port Connector 21”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {88};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Microphone”;
	InternalReferenceDesignator = “FRONTPANEL”;
	Name = “Connecteur de ports”;
	PortType = 29;
	Tag = “Port Connector 22”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {88};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Headphone”;
	InternalReferenceDesignator = “FRONTPANEL”;
	Name = “Connecteur de ports”;
	PortType = 29;
	Tag = “Port Connector 23”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {64};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Front USB 2.0”;
	InternalReferenceDesignator = “FRONTPANEL”;
	Name = “Connecteur de ports”;
	PortType = 16;
	Tag = “Port Connector 24”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {64};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Front USB 2.0”;
	InternalReferenceDesignator = “FRONTPANEL”;
	Name = “Connecteur de ports”;
	PortType = 16;
	Tag = “Port Connector 25”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {64};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Front USB 3.0”;
	InternalReferenceDesignator = “USB3_FRONT”;
	Name = “Connecteur de ports”;
	PortType = 16;
	Tag = “Port Connector 26”;
};

instance of Win32_PortConnector
{
	Caption = “Connecteur de ports”;
	ConnectorType = {64};
	CreationClassName = “Win32_PortConnector”;
	Description = “Connecteur de ports”;
	ExternalReferenceDesignator = “Front USB 3.0”;
	InternalReferenceDesignator = “USB3_FRONT”;
	Name = “Connecteur de ports”;
	PortType = 16;
	Tag = “Port Connector 27”;
};

Associations

Win32_DiskDriveToDiskPartition

La classe Win32_DiskDriveToDiskPartition représente une association entre un lecteur de disque et une partition qui existe sur ce disque.

Association Win32_DiskDriveWin32_DiskPartition

__PATH
\\PC-THIERRY\root\cimv2:Win32_DiskDriveToDiskPartition.Antecedent="\\\\PC-THIERRY\\root\\cimv2:Win32_DiskDrive.DeviceID=\"\\\\\\\\.\\\\PHYSICALDRIVE0\"",Dependent="\\\\PC-THIERRY\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #0, Partition #0\""

[13] instance of win32_diskdrivetodiskpartition show

instance of Win32_DiskDriveToDiskPartition
{
	Antecedent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskDrive.DeviceID=\”\\\\\\\\.\\\\PHYSICALDRIVE0\“”;
	Dependent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskPartition.DeviceID=\”Disk #0, Partition #0\“”;
};

instance of Win32_DiskDriveToDiskPartition
{
	Antecedent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskDrive.DeviceID=\”\\\\\\\\.\\\\PHYSICALDRIVE1\“”;
	Dependent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskPartition.DeviceID=\”Disk #1, Partition #0\“”;
};

instance of Win32_DiskDriveToDiskPartition
{
	Antecedent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskDrive.DeviceID=\”\\\\\\\\.\\\\PHYSICALDRIVE1\“”;
	Dependent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskPartition.DeviceID=\”Disk #1, Partition #1\“”;
};

instance of Win32_DiskDriveToDiskPartition
{
	Antecedent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskDrive.DeviceID=\”\\\\\\\\.\\\\PHYSICALDRIVE1\“”;
	Dependent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskPartition.DeviceID=\”Disk #1, Partition #2\“”;
};

Win32_LogicalDiskToPartition

La classe Win32_LogicalDiskToPartition représente une association entre un lecteur de disque logique et la partition disque sur laquelle il se trouve.

Association Win32_DiskPartitionWin32_LogicalDisk

__PATH
\\PC-THIERRY\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #0"

[14] instance of win32_logicaldisktopartition show
instance of Win32_LogicalDiskToPartition
{
	Antecedent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskPartition.DeviceID=\”Disk #1, Partition #1\“”;
	Dependent = “\\\\PC-THIERRY\\root\\cimv2:Win32_LogicalDisk.DeviceID=\”C:\“”;
	EndingAddress = “511545704447”;
	StartingAddress = “576716800”;
};

instance of Win32_LogicalDiskToPartition
{
	Antecedent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskPartition.DeviceID=\”Disk #0, Partition #0\“”;
	Dependent = “\\\\PC-THIERRY\\root\\cimv2:Win32_LogicalDisk.DeviceID=\”J:\“”;
	EndingAddress = “2000397795327”;
	StartingAddress = “1048576”;
};

Win32_DiskDrivePhysicalMedia

L'association Win32_PhysicalElementsOfDiskDrive définit le mappage entre un lecteur de disque et les composants physiques qui l’implémentent.

Association de Win32_PhysicalMediaWin32_DiskDrive

__PATH
\\PC-THIERRY\root\cimv2:Win32_DiskDrivePhysicalMedia.Antecedent="\\\\PC-THIERRY\\root\\cimv2:Win32_PhysicalMedia.Tag=\"\\\\\\\\.\\\\PHYSICALDRIVE0\"",Dependent="\\\\PC-THIERRY\\root\\cimv2:Win32_DiskDrive.DeviceID=\"\\\\\\\\.\\\\PHYSICALDRIVE0\""

[15] instance of win32_diskdrivephysicalmedia show

instance of Win32_DiskDrivePhysicalMedia
{
	Antecedent = “\\\\PC-THIERRY\\root\\cimv2:Win32_PhysicalMedia.Tag=\”\\\\\\\\.\\\\PHYSICALDRIVE0\“”;
	Dependent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskDrive.DeviceID=\”\\\\\\\\.\\\\PHYSICALDRIVE0\“”;
};

instance of Win32_DiskDrivePhysicalMedia
{
	Antecedent = “\\\\PC-THIERRY\\root\\cimv2:Win32_PhysicalMedia.Tag=\”\\\\\\\\.\\\\PHYSICALDRIVE1\“”;
	Dependent = “\\\\PC-THIERRY\\root\\cimv2:Win32_DiskDrive.DeviceID=\”\\\\\\\\.\\\\PHYSICALDRIVE1\“”;
};

Win32_PnPDevice

  • Association de Win32_DiskDriveWin32_PnPEntity
  • Association de Win32_IDEControllerWin32_PnPEntity
  • Association de Win32_CDROMDriveWin32_PnPEntity
  • Association de Win32_SCSIControllerWin32_PnPEntity
__PATH
\\PC-THIERRY\root\cimv2:Win32_PnPDevice.SameElement="\\\\PC-THIERRY\\root\\CIMV2:Win32_IDEController.DeviceID=\"PCI\\\\VEN_8086&DEV_A282&SUBSYS_07A11028&REV_00\\\\3&11583659&0&B8\"",SystemElement="\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\"PCI\\\\VEN_8086&DEV_A282&SUBSYS_07A11028&REV_00\\\\3&11583659&0&B8\""

[16] instance of win32_pnpdevice show

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_IDEController.DeviceID=\”PCI\\\\VEN_8086&DEV_A282&SUBSYS_07A11028&REV_00\\\\3&11583659&0&B8\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”PCI\\\\VEN_8086&DEV_A282&SUBSYS_07A11028&REV_00\\\\3&11583659&0&B8\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_CDROMDrive.DeviceID=\”SCSI\\\\CDROM&VEN_PLDS&PROD_DVD+-RW_DU-8A5LH\\\\4&61B3D44&0&000100\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SCSI\\\\CDROM&VEN_PLDS&PROD_DVD+-RW_DU-8A5LH\\\\4&61B3D44&0&000100\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_SoundDevice.DeviceID=\”HDAUDIO\\\\FUNC_01&VEN_10EC&DEV_0255&SUBSYS_102807A1&REV_1000\\\\4&6EB6490&0&0001\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”HDAUDIO\\\\FUNC_01&VEN_10EC&DEV_0255&SUBSYS_102807A1&REV_1000\\\\4&6EB6490&0&0001\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_SoundDevice.DeviceID=\”HDAUDIO\\\\FUNC_01&VEN_8086&DEV_280B&SUBSYS_80860101&REV_1000\\\\4&6EB6490&0&0201\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”HDAUDIO\\\\FUNC_01&VEN_8086&DEV_280B&SUBSYS_80860101&REV_1000\\\\4&6EB6490&0&0201\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_DiskDrive.DeviceID=\”\\\\\\\\.\\\\PHYSICALDRIVE0\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SCSI\\\\DISK&VEN_ST2000DM&PROD_001-1ER164\\\\4&61B3D44&0&000000\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_DiskDrive.DeviceID=\”\\\\\\\\.\\\\PHYSICALDRIVE1\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SCSI\\\\DISK&VEN_INTENSO&PROD_SSD\\\\4&61B3D44&0&000400\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_Keyboard.DeviceID=\”USB\\\\VID_046D&PID_C52B&MI_00\\\\6&3B47FCD4&0&0000\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”USB\\\\VID_046D&PID_C52B&MI_00\\\\6&3B47FCD4&0&0000\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_Keyboard.DeviceID=\”USB\\\\VID_413C&PID_2010&MI_00\\\\8&BBB730A&0&0000\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”USB\\\\VID_413C&PID_2010&MI_00\\\\8&BBB730A&0&0000\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_PointingDevice.DeviceID=\”HID\\\\VID_046D&PID_C52B&MI_01&COL01\\\\7&7A792D8&0&0000\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”HID\\\\VID_046D&PID_C52B&MI_01&COL01\\\\7&7A792D8&0&0000\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_SCSIController.DeviceID=\”ROOT\\\\SPACEPORT\\\\0000\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”ROOT\\\\SPACEPORT\\\\0000\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_SCSIController.DeviceID=\”{8E7BD593-6E6C-4C52-86A6-77175494DD8E}\\\\MSVHDHBA\\\\1&3030E83&0&01\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”{8E7BD593-6E6C-4C52-86A6-77175494DD8E}\\\\MSVHDHBA\\\\1&3030E83&0&01\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_USBController.DeviceID=\”PCI\\\\VEN_8086&DEV_A2AF&SUBSYS_07A11028&REV_00\\\\3&11583659&0&A0\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”PCI\\\\VEN_8086&DEV_A2AF&SUBSYS_07A11028&REV_00\\\\3&11583659&0&A0\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_USBHub.DeviceID=\”USB\\\\ROOT_HUB30\\\\4&2A872284&0&0\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”USB\\\\ROOT_HUB30\\\\4&2A872284&0&0\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_USBHub.DeviceID=\”USB\\\\VID_046D&PID_C52B\\\\5&112BC8D3&0&10\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”USB\\\\VID_046D&PID_C52B\\\\5&112BC8D3&0&10\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_USBHub.DeviceID=\”USB\\\\VID_0424&PID_2744\\\\5&112BC8D3&0&4\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”USB\\\\VID_0424&PID_2744\\\\5&112BC8D3&0&4\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_USBHub.DeviceID=\”USB\\\\VID_413C&PID_1003\\\\6&3155631&0&3\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”USB\\\\VID_413C&PID_1003\\\\6&3155631&0&3\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_USBHub.DeviceID=\”USB\\\\VID_413C&PID_2010\\\\7&31ED8BE4&0&1\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”USB\\\\VID_413C&PID_2010\\\\7&31ED8BE4&0&1\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_USBHub.DeviceID=\”USB\\\\VID_0922&PID_0020\\\\10041515213327\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”USB\\\\VID_0922&PID_0020\\\\10041515213327\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_USBHub.DeviceID=\”USB\\\\VID_0424&PID_5744\\\\5&112BC8D3&0&19\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”USB\\\\VID_0424&PID_5744\\\\5&112BC8D3&0&19\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_DesktopMonitor.DeviceID=\”DesktopMonitor1\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”DISPLAY\\\\DEL4184\\\\4&176231A2&0&UID224795\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_VideoController.DeviceID=\”VideoController1\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”PCI\\\\VEN_8086&DEV_5912&SUBSYS_07A11028&REV_04\\\\3&11583659&0&10\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”0\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”ROOT\\\\KDNIC\\\\0000\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”1\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”PCI\\\\VEN_8086&DEV_15E3&SUBSYS_07A11028&REV_00\\\\3&11583659&0&FE\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”3\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”ROOT\\\\VMS_VSMP\\\\0001\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”4\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”ROOT\\\\VMS_VSMP\\\\0000\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”5\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”ROOT\\\\VMS_MP\\\\0001\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”6\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SWD\\\\MSRRAS\\\\MS_SSTPMINIPORT\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”7\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SWD\\\\MSRRAS\\\\MS_AGILEVPNMINIPORT\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”8\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SWD\\\\MSRRAS\\\\MS_L2TPMINIPORT\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”9\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SWD\\\\MSRRAS\\\\MS_PPTPMINIPORT\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”10\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SWD\\\\MSRRAS\\\\MS_PPPOEMINIPORT\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”11\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SWD\\\\MSRRAS\\\\MS_NDISWANIP\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”12\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SWD\\\\MSRRAS\\\\MS_NDISWANIPV6\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”13\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SWD\\\\MSRRAS\\\\MS_NDISWANBH\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”14\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”ROOT\\\\VMS_MP\\\\0000\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”15\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”ROOT\\\\NET\\\\0000\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_NetworkAdapter.DeviceID=\”16\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”ROOT\\\\NET\\\\0001\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_SerialPort.DeviceID=\”COM7\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”PCI\\\\VEN_8086&DEV_A2BD&SUBSYS_07A11028&REV_00\\\\3&11583659&0&B3\“”;
};

instance of Win32_PnPDevice
{
	SameElement = “\\\\PC-THIERRY\\root\\CIMV2:Win32_SerialPort.DeviceID=\”COM1\“”;
	SystemElement = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”ACPI\\\\PNP0501\\\\0\“”;
};

Requêtes WQL utiles

Select * from Win32_PnPEntity  where PNPClass = “DiskDrive”

[17] résultat show
instance of Win32_PnPEntity
{
	Caption = “ST2000DM001-1ER164”;
	ClassGuid = “{4d36e967-e325-11ce-bfc1-08002be10318}”;
	CompatibleID = {“SCSI\\Disk”, “SCSI\\RAW”};
	ConfigManagerErrorCode = 0;
	ConfigManagerUserConfig = FALSE;
	CreationClassName = “Win32_PnPEntity”;
	Description = “Lecteur de disque”;
	DeviceID = “SCSI\\DISK&VEN_ST2000DM&PROD_001-1ER164\\4&61B3D44&0&000000”;
	HardwareID = {“SCSI\\DiskST2000DM001-1ER164______CC61”, “SCSI\\DiskST2000DM001-1ER164______”, “SCSI\\DiskST2000DM”, “SCSI\\ST2000DM001-1ER164______C”, “ST2000DM001-1ER164______C”, “GenDisk”};
	Manufacturer = “(Lecteurs de disque standard)”;
	Name = “ST2000DM001-1ER164”;
	PNPClass = “DiskDrive”;
	PNPDeviceID = “SCSI\\DISK&VEN_ST2000DM&PROD_001-1ER164\\4&61B3D44&0&000000”;
	Present = TRUE;
	Service = “disk”;
	Status = “OK”;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
};

instance of Win32_PnPEntity
{
	Caption = “Intenso SSD SATAIII”;
	ClassGuid = “{4d36e967-e325-11ce-bfc1-08002be10318}”;
	CompatibleID = {“SCSI\\Disk”, “SCSI\\RAW”};
	ConfigManagerErrorCode = 0;
	ConfigManagerUserConfig = FALSE;
	CreationClassName = “Win32_PnPEntity”;
	Description = “Lecteur de disque”;
	DeviceID = “SCSI\\DISK&VEN_INTENSO&PROD_SSD\\4&61B3D44&0&000400”;
	HardwareID = {“SCSI\\DiskIntenso_SSD_____________T092”, “SCSI\\DiskIntenso_SSD_____________”, “SCSI\\DiskIntenso_”, “SCSI\\Intenso_SSD_____________T”, “Intenso_SSD_____________T”, “GenDisk”};
	Manufacturer = “(Lecteurs de disque standard)”;
	Name = “Intenso SSD SATAIII”;
	PNPClass = “DiskDrive”;
	PNPDeviceID = “SCSI\\DISK&VEN_INTENSO&PROD_SSD\\4&61B3D44&0&000400”;
	Present = TRUE;
	Service = “disk”;
	Status = “OK”;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
};

instance of Win32_PnPEntity
{
	Caption = “Kingston DataTraveler 3.0 USB Device”;
	ClassGuid = “{4d36e967-e325-11ce-bfc1-08002be10318}”;
	CompatibleID = {“USBSTOR\\Disk”, “USBSTOR\\RAW”, “GenDisk”};
	ConfigManagerErrorCode = 0;
	ConfigManagerUserConfig = FALSE;
	CreationClassName = “Win32_PnPEntity”;
	Description = “Lecteur de disque”;
	DeviceID = “USBSTOR\\DISK&VEN_KINGSTON&PROD_DATATRAVELER_3.0&REV_PMAP\\60A44C413C4EBFA1A9840153&0”;
	HardwareID = {“USBSTOR\\DiskKingstonDataTraveler_3.0PMAP”, “USBSTOR\\DiskKingstonDataTraveler_3.0”, “USBSTOR\\DiskKingston”, “USBSTOR\\KingstonDataTraveler_3.0P”, “KingstonDataTraveler_3.0P”, “USBSTOR\\GenDisk”, “GenDisk”};
	Manufacturer = “(Lecteurs de disque standard)”;
	Name = “Kingston DataTraveler 3.0 USB Device”;
	PNPClass = “DiskDrive”;
	PNPDeviceID = “USBSTOR\\DISK&VEN_KINGSTON&PROD_DATATRAVELER_3.0&REV_PMAP\\60A44C413C4EBFA1A9840153&0”;
	Present = TRUE;
	Service = “disk”;
	Status = “OK”;
	SystemCreationClassName = “Win32_ComputerSystem”;
	SystemName = “PC-THIERRY”;
};
Ici les différents PNPClass trouvés sur mon PC.

[18] pnpclass show
        PNPClass = “AudioEndpoint”;
	PNPClass = “CDROM”;
	PNPClass = “Computer”;
	PNPClass = “DellInstrumentation”;
	PNPClass = “DiskDrive”;
	PNPClass = “Display”;
	PNPClass = “HDC”;
	PNPClass = “HIDClass”;
	PNPClass = “Image”;
	PNPClass = “Keyboard”;
	PNPClass = “MEDIA”;
	PNPClass = “Monitor”;
	PNPClass = “Mouse”;
	PNPClass = “Net”;
	PNPClass = “Ports”;
	PNPClass = “PrintQueue”;
	PNPClass = “Printer”;
	PNPClass = “Processor”;
	PNPClass = “SCSIAdapter”;
	PNPClass = “SecurityDevices”;
	PNPClass = “SoftwareComponent”;
	PNPClass = “SoftwareDevice”;
	PNPClass = “System”;
	PNPClass = “UCMCLIENT”;
	PNPClass = “USB”;
	PNPClass = “Volume”;
	PNPClass = “VolumeSnapshot”;

Win32_IDEControllerDevice

Association de Win32_IDEControllerWin32_PnPEntity

__PATH
\\PC-THIERRY\root\cimv2:Win32_IDEControllerDevice.Antecedent="\\\\PC-THIERRY\\root\\cimv2:Win32_IDEController.DeviceID=\"PCI\\\\VEN_8086&DEV_A282&SUBSYS_07A11028&REV_00\\\\3&11583659&0&B8\"",Dependent="\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\"SCSI\\\\DISK&VEN_ST2000DM&PROD_001-1ER164\\\\4&61B3D44&0&000000\""

[19] instance of win32_idecontrollerdevice show

instance of Win32_IDEControllerDevice
{
	Antecedent = “\\\\PC-THIERRY\\root\\cimv2:Win32_IDEController.DeviceID=\”PCI\\\\VEN_8086&DEV_A282&SUBSYS_07A11028&REV_00\\\\3&11583659&0&B8\“”;
	Dependent = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SCSI\\\\DISK&VEN_ST2000DM&PROD_001-1ER164\\\\4&61B3D44&0&000000\“”;
};

instance of Win32_IDEControllerDevice
{
	Antecedent = “\\\\PC-THIERRY\\root\\cimv2:Win32_IDEController.DeviceID=\”PCI\\\\VEN_8086&DEV_A282&SUBSYS_07A11028&REV_00\\\\3&11583659&0&B8\“”;
	Dependent = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SCSI\\\\CDROM&VEN_PLDS&PROD_DVD+-RW_DU-8A5LH\\\\4&61B3D44&0&000100\“”;
};

instance of Win32_IDEControllerDevice
{
	Antecedent = “\\\\PC-THIERRY\\root\\cimv2:Win32_IDEController.DeviceID=\”PCI\\\\VEN_8086&DEV_A282&SUBSYS_07A11028&REV_00\\\\3&11583659&0&B8\“”;
	Dependent = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SCSI\\\\DISK&VEN_INTENSO&PROD_SSD\\\\4&61B3D44&0&000400\“”;
};

instance of Win32_IDEControllerDevice
{
	Antecedent = “\\\\PC-THIERRY\\root\\cimv2:Win32_IDEController.DeviceID=\”PCI\\\\VEN_8086&DEV_A282&SUBSYS_07A11028&REV_00\\\\3&11583659&0&B8\“”;
	Dependent = “\\\\PC-THIERRY\\root\\cimv2:Win32_PnPEntity.DeviceID=\”SWD\\\\DRIVERENUM\\\\{8541B81C-193B-4F91-A86B-53DF20C1974B}#RSTHSA&4&61B3D44&0\“”;
};

A étudier

  • CIM_LogicalDiskBasedOnVolumeSet
  • Win32_LogicalDiskRootDirectory
  • Win32_PerfRawData_PerfDisk_PhysicalDisk
  • Win32_PerfRawData_PerfDisk_LogicalDisk
  • Win32_PerfFormattedData_PerfDisk_PhysicalDisk
  • Win32_PerfFormattedData_PerfDisk_LogicalDisk
  • Win32_PerfRawData_Counters_FileSystemDiskActivity
  • Win32_PerfFormattedData_Counters_FileSystemDiskActivity
  • Win32_MappedLogicalDisk
Vous pourriez laisser un commentaire si vous étiez connecté.