Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
windows:wmi:disks:wmi_and_disks_msft [07/05/2023 16:52]
thierry [MSFT_Partition]
windows:wmi:disks:wmi_and_disks_msft [09/06/2023 16:20] (Version actuelle)
thierry [Vierge]
Ligne 137: Ligne 137:
 }; };
  
 +</​codedoc></​codedoc>​
 +==== Comparaison MSFT_Disk / MSFT_PhysicalDisk / Win32_DiskDrive ====
 +<​codedoc>​
 +instances of MSFT_Disk
 +<codedoc toggle>
 +instance of MSFT_Disk
 +{
 + AllocatedSize = "​512110190592";​
 + BootFromDisk = TRUE;
 + BusType = 11;
 + FirmwareVersion = "​T0929A0";​
 + FriendlyName = "​Intenso SSD SATAIII";​
 + HealthStatus = 0;
 + IsBoot = TRUE;
 + IsClustered = FALSE;
 + IsHighlyAvailable = FALSE;
 + IsOffline = FALSE;
 + IsReadOnly = FALSE;
 + IsScaleOut = FALSE;
 + IsSystem = TRUE;
 + LargestFreeExtent = "​0";​
 + Location = "​Integrated : Bus 0 : Device 23 : Function 0 : Adapter 0 : Port 0";
 + LogicalSectorSize = 512;
 + Model = "​Intenso SSD SATAIII";​
 + Number = 1;
 + NumberOfPartitions = 3;
 + ObjectId = "​{1}\\\\PC-THIERRY\\root/​Microsoft/​Windows/​Storage/​Providers_v2\\WSP_Disk.ObjectId=\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​DI:​\\\\?​\\scsi#​disk&​ven_intenso&​prod_ssd#​4&​61b3d44&​0&​000400#​{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\"";​
 + OfflineReason = 0;
 + OperationalStatus = {53264};
 + PartitionStyle = 1;
 + Path = "​\\\\?​\\scsi#​disk&​ven_intenso&​prod_ssd#​4&​61b3d44&​0&​000400#​{53f56307-b6bf-11d0-94f2-00a0c91efb8b}";​
 + PhysicalSectorSize = 512;
 + ProvisioningType = 2;
 + SerialNumber = "​AA000000000000000494";​
 + Signature = 2303424239;
 + Size = "​512110190592";​
 + UniqueId = "​ATA ​    ​Intenso SSD SATAIII ​                    ​AA000000000000000494";​
 + UniqueIdFormat = 1;
 +};
 +
 +instance of MSFT_PhysicalDisk
 +{
 + AllocatedSize = “512110190592”;​
 + BusType = 11;
 + CannotPoolReason = {7};
 + CanPool = FALSE;
 + DeviceId = “1”;
 + FirmwareVersion = “T0929A0”;​
 + FriendlyName = “Intenso SSD SATAIII”;
 + HealthStatus = 0;
 + IsPartial = TRUE;
 + LogicalSectorSize = “512”;
 + MediaType = 4;
 + Model = “Intenso SSD SATAIII”;
 + ObjectId = “{1}\\\\PC-THIERRY\\root/​Microsoft/​Windows/​Storage/​Providers_v2\\SPACES_PhysicalDisk.ObjectId=\”{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​PD:​{3d29fe32-dc1f-60cd-fd4b-f51e648eeb67}\“”;​
 + OperationalStatus = {2};
 + PhysicalLocation = “Integrated : Bus 0 : Device 23 : Function 0 : Adapter 0 : Port 0”;
 + PhysicalSectorSize = “512”;
 + SerialNumber = “AA000000000000000494”;​
 + Size = “512110190592”;​
 + SpindleSpeed = 0;
 + SupportedUsages = {1, 2, 3, 4, 5};
 + UniqueId = “ATA ​    ​Intenso SSD SATAIII ​                    ​AA000000000000000494”;​
 + UniqueIdFormat = 1;
 + Usage = 1;
 + VirtualDiskFootprint = “0”;
 +}; 
 +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;
 +};
 </​codedoc></​codedoc>​ </​codedoc></​codedoc>​
  
Ligne 275: Ligne 380:
 </​codedoc></​codedoc>​ </​codedoc></​codedoc>​
  
-====MSFT_Partition ​=====+==== Comparaison ​MSFT_Partition ​/ Win32_DiskPartition====
 <​codedoc>​ <​codedoc>​
 +instances of MSFT_Partition / Win32_DiskPartition
 +<codedoc toggle>
 instance of MSFT_Partition instance of MSFT_Partition
 +{
 + AccessPaths = {"​C:​\\",​ "​\\\\?​\\Volume{894b76ef-0000-0000-0000-602200000000}\\"​};​
 + DiskId = "​\\\\?​\\scsi#​disk&​ven_intenso&​prod_ssd#​4&​61b3d44&​0&​000400#​{53f56307-b6bf-11d0-94f2-00a0c91efb8b}";​
 + DiskNumber = 1;
 + DriveLetter = '​\x43';​
 + IsActive = FALSE;
 + IsBoot = TRUE;
 + IsDAX = FALSE;
 + IsHidden = FALSE;
 + IsOffline = FALSE;
 + IsReadOnly = FALSE;
 + IsShadowCopy = FALSE;
 + IsSystem = FALSE;
 + MbrType = 7;
 + NoDefaultDriveLetter = FALSE;
 + ObjectId = "​{1}\\\\PC-THIERRY\\root/​Microsoft/​Windows/​Storage/​Providers_v2\\WSP_Partition.ObjectId=\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​PR:​{00000000-0000-0000-0000-602200000000}\\\\?​\\scsi#​disk&​ven_intenso&​prod_ssd#​4&​61b3d44&​0&​000400#​{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\"";​
 + Offset = "​576716800";​
 + OperationalStatus = 1;
 + PartitionNumber = 2;
 + Size = "​510968987648";​
 + TransitionState = 1;
 + UniqueId = "​{00000000-0000-0000-0000-602200000000}ATA ​    ​Intenso SSD SATAIII ​                    ​AA000000000000000494";​
 +};
 +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”;
 +};
 +</​codedoc></​codedoc>​
 +
 +
 +
 +===== MSFT_PartitionToVolume =====
 +<​codedoc>​
 +instances of MSFT_PartitionToVolume
 <codedoc toggle> <codedoc toggle>
 +
 +instance of MSFT_PartitionToVolume
 +{
 + Partition = "​\\\\.\\ROOT\\Microsoft\\Windows\\Storage:​MSFT_Partition.ObjectId=\"​{1}\\\\\\\\PC-THIERRY\\\\ROOT/​Microsoft/​Windows/​Storage/​Providers_v2\\\\WSP_Partition.ObjectId=\\\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​PR:​{00000000-0000-0000-0000-100000000000}\\\\\\\\?​\\\\scsi#​disk&​ven_intenso&​prod_ssd#​4&​61b3d44&​0&​000400#​{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\\\"​\"";​
 + Volume = "​\\\\.\\ROOT\\Microsoft\\Windows\\Storage:​MSFT_Volume.ObjectId=\"​{1}\\\\\\\\PC-THIERRY\\\\ROOT/​Microsoft/​Windows/​Storage/​Providers_v2\\\\WSP_Volume.ObjectId=\\\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​VO:​\\\\\\\\?​\\\\Volume{894b76ef-0000-0000-0000-100000000000}\\\\\\\"​\"";​
 +};
 +
 +instance of MSFT_PartitionToVolume
 +{
 + Partition = "​\\\\.\\ROOT\\Microsoft\\Windows\\Storage:​MSFT_Partition.ObjectId=\"​{1}\\\\\\\\PC-THIERRY\\\\ROOT/​Microsoft/​Windows/​Storage/​Providers_v2\\\\WSP_Partition.ObjectId=\\\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​PR:​{00000000-0000-0000-0000-602200000000}\\\\\\\\?​\\\\scsi#​disk&​ven_intenso&​prod_ssd#​4&​61b3d44&​0&​000400#​{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\\\"​\"";​
 + Volume = "​\\\\.\\ROOT\\Microsoft\\Windows\\Storage:​MSFT_Volume.ObjectId=\"​{1}\\\\\\\\PC-THIERRY\\\\ROOT/​Microsoft/​Windows/​Storage/​Providers_v2\\\\WSP_Volume.ObjectId=\\\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​VO:​\\\\\\\\?​\\\\Volume{894b76ef-0000-0000-0000-602200000000}\\\\\\\"​\"";​
 +};
 +
 +instance of MSFT_PartitionToVolume
 +{
 + Partition = "​\\\\.\\ROOT\\Microsoft\\Windows\\Storage:​MSFT_Partition.ObjectId=\"​{1}\\\\\\\\PC-THIERRY\\\\ROOT/​Microsoft/​Windows/​Storage/​Providers_v2\\\\WSP_Partition.ObjectId=\\\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​PR:​{00000000-0000-0000-0000-801a77000000}\\\\\\\\?​\\\\scsi#​disk&​ven_intenso&​prod_ssd#​4&​61b3d44&​0&​000400#​{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\\\"​\"";​
 + Volume = "​\\\\.\\ROOT\\Microsoft\\Windows\\Storage:​MSFT_Volume.ObjectId=\"​{1}\\\\\\\\PC-THIERRY\\\\ROOT/​Microsoft/​Windows/​Storage/​Providers_v2\\\\WSP_Volume.ObjectId=\\\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​VO:​\\\\\\\\?​\\\\Volume{894b76ef-0000-0000-0000-801a77000000}\\\\\\\"​\"";​
 +};
 +
 +instance of MSFT_PartitionToVolume
 +{
 + Partition = "​\\\\.\\ROOT\\Microsoft\\Windows\\Storage:​MSFT_Partition.ObjectId=\"​{1}\\\\\\\\PC-THIERRY\\\\ROOT/​Microsoft/​Windows/​Storage/​Providers_v2\\\\WSP_Partition.ObjectId=\\\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​PR:​{00000000-0000-0000-0000-100000000000}\\\\\\\\?​\\\\scsi#​disk&​ven_st2000dm&​prod_001-1er164#​4&​61b3d44&​0&​000000#​{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\\\"​\"";​
 + Volume = "​\\\\.\\ROOT\\Microsoft\\Windows\\Storage:​MSFT_Volume.ObjectId=\"​{1}\\\\\\\\PC-THIERRY\\\\ROOT/​Microsoft/​Windows/​Storage/​Providers_v2\\\\WSP_Volume.ObjectId=\\\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​VO:​\\\\\\\\?​\\\\Volume{55555555-0000-0000-0000-100000000000}\\\\\\\"​\"";​
 +};
 +
 </​codedoc></​codedoc>​ </​codedoc></​codedoc>​
 +
 +===== MSFT_Volume =====
 +<​codedoc>​
 +instances of MSFT_Volume
 +<codedoc toggle>
 +
 +instance of MSFT_Volume
 +{
 + AllocationUnitSize = 4096;
 + DedupMode = 4;
 + DriveLetter = '​\x4A';​
 + DriveType = 3;
 + FileSystem = "​NTFS";​
 + FileSystemLabel = "​SATA2T";​
 + FileSystemType = 14;
 + HealthStatus = 0;
 + ObjectId = "​{1}\\\\PC-THIERRY\\root/​Microsoft/​Windows/​Storage/​Providers_v2\\WSP_Volume.ObjectId=\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​VO:​\\\\?​\\Volume{55555555-0000-0000-0000-100000000000}\\\"";​
 + OperationalStatus = {2};
 + Path = "​\\\\?​\\Volume{55555555-0000-0000-0000-100000000000}\\";​
 + Size = "​2000396742656";​
 + SizeRemaining = "​1231816171520";​
 + UniqueId = "​\\\\?​\\Volume{55555555-0000-0000-0000-100000000000}\\";​
 +};
 +
 +instance of MSFT_Volume
 +{
 + AllocationUnitSize = 0;
 + DedupMode = 0;
 + DriveLetter = '​\x44';​
 + DriveType = 5;
 + FileSystem = "";​
 + FileSystemLabel = "";​
 + FileSystemType = 0;
 + HealthStatus = 0;
 + ObjectId = "​{1}\\\\PC-THIERRY\\root/​Microsoft/​Windows/​Storage/​Providers_v2\\WSP_Volume.ObjectId=\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​VO:​\\\\?​\\Volume{5a5bd73b-6335-11eb-8b80-806e6f6e6963}\\\"";​
 + OperationalStatus = {0};
 + Path = "​\\\\?​\\Volume{5a5bd73b-6335-11eb-8b80-806e6f6e6963}\\";​
 + Size = "​0";​
 + SizeRemaining = "​0";​
 + UniqueId = "​\\\\?​\\Volume{5a5bd73b-6335-11eb-8b80-806e6f6e6963}\\";​
 +};
 +
 +instance of MSFT_Volume
 +{
 + AllocationUnitSize = 4096;
 + DedupMode = 4;
 + DriveType = 3;
 + FileSystem = "​NTFS";​
 + FileSystemLabel = "​Réservé au système";​
 + FileSystemType = 14;
 + HealthStatus = 0;
 + ObjectId = "​{1}\\\\PC-THIERRY\\root/​Microsoft/​Windows/​Storage/​Providers_v2\\WSP_Volume.ObjectId=\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​VO:​\\\\?​\\Volume{894b76ef-0000-0000-0000-100000000000}\\\"";​
 + OperationalStatus = {2};
 + Path = "​\\\\?​\\Volume{894b76ef-0000-0000-0000-100000000000}\\";​
 + Size = "​575664128";​
 + SizeRemaining = "​541483008";​
 + UniqueId = "​\\\\?​\\Volume{894b76ef-0000-0000-0000-100000000000}\\";​
 +};
 +
 +instance of MSFT_Volume
 +{
 + AllocationUnitSize = 4096;
 + DedupMode = 4;
 + DriveLetter = '​\x43';​
 + DriveType = 3;
 + FileSystem = "​NTFS";​
 + FileSystemLabel = "";​
 + FileSystemType = 14;
 + HealthStatus = 0;
 + ObjectId = "​{1}\\\\PC-THIERRY\\root/​Microsoft/​Windows/​Storage/​Providers_v2\\WSP_Volume.ObjectId=\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​VO:​\\\\?​\\Volume{894b76ef-0000-0000-0000-602200000000}\\\"";​
 + OperationalStatus = {2};
 + Path = "​\\\\?​\\Volume{894b76ef-0000-0000-0000-602200000000}\\";​
 + Size = "​510968983552";​
 + SizeRemaining = "​303614689280";​
 + UniqueId = "​\\\\?​\\Volume{894b76ef-0000-0000-0000-602200000000}\\";​
 +};
 +
 +instance of MSFT_Volume
 +{
 + AllocationUnitSize = 4096;
 + DedupMode = 4;
 + DriveType = 3;
 + FileSystem = "​NTFS";​
 + FileSystemLabel = "";​
 + FileSystemType = 14;
 + HealthStatus = 0;
 + ObjectId = "​{1}\\\\PC-THIERRY\\root/​Microsoft/​Windows/​Storage/​Providers_v2\\WSP_Volume.ObjectId=\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​VO:​\\\\?​\\Volume{894b76ef-0000-0000-0000-801a77000000}\\\"";​
 + OperationalStatus = {2};
 + Path = "​\\\\?​\\Volume{894b76ef-0000-0000-0000-801a77000000}\\";​
 + Size = "​564129792";​
 + SizeRemaining = "​62222336";​
 + UniqueId = "​\\\\?​\\Volume{894b76ef-0000-0000-0000-801a77000000}\\";​
 +};
 +
 +</​codedoc></​codedoc>​
 +
 +==== Comparaison MSFT_Volume / Win32_Volume ====
 +
 +<​codedoc>​
 +instances of MSFT_Volume
 +<codedoc toggle>
 +
 +instance of MSFT_Volume
 +{
 + AllocationUnitSize = 4096;
 + DedupMode = 4;
 + DriveLetter = '​\x4A';​
 + DriveType = 3;
 + FileSystem = "​NTFS";​
 + FileSystemLabel = "​SATA2T";​
 + FileSystemType = 14;
 + HealthStatus = 0;
 + ObjectId = "​{1}\\\\PC-THIERRY\\root/​Microsoft/​Windows/​Storage/​Providers_v2\\WSP_Volume.ObjectId=\"​{6e6eee87-74ee-11e9-8b27-806e6f6e6963}:​VO:​\\\\?​\\Volume{55555555-0000-0000-0000-100000000000}\\\"";​
 + OperationalStatus = {2};
 + Path = "​\\\\?​\\Volume{55555555-0000-0000-0000-100000000000}\\";​
 + Size = "​2000396742656";​
 + SizeRemaining = "​1231816171520";​
 + UniqueId = "​\\\\?​\\Volume{55555555-0000-0000-0000-100000000000}\\";​
 +};
 +
 +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;
 +};
 +
 +
 +</​codedoc></​codedoc>​
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +