BACK TO INDEX

CIM_DeviceFile
A device file is a special type of logical file that represents a device. This convention is useful for some operating systems that manage devices using a byte stream I/O model. The logical device that is associated with this file is specified using the CIM_DeviceAccessedByFile relationship.
NameSpace Path
\ROOT\CIMV2
PROPERTYSMS_REPORTCIMTYPEDESCRIPTION
AccessMaskUInt32The AccessMask property is a bit array representing the access rights to the given file or directory held by the user or group on whose behalf the instance is returned. This property is only supported under Windows NT and Windows 2000. On Windows 98 and on Windows NT/2000 FAT volumes, FULL_ACCESS is returned, indicating no security has been set on the object.
ArchiveBooleanThe Archive property is a boolean value indicating that the file should be archived.
CaptionStringThe Caption property is a short textual description (one-line string) of the object.
CompressedBooleanThe Compressed property is a boolean value indicating that the file is compressed.
CompressionMethodStringThe CompressionMethod property is a free form string indicating the algorithm or tool used to compress the logical file. If it is not possible (or not desired) to describe the compression scheme (perhaps because it is not known), use the following words: "Unknown" to represent that it is not known whether the logical file is compressed or not, "Compressed" to represent that the file is compressed but either its compression scheme is not known or not disclosed, and "Not Compressed" to represent that the logical file is not compressed.
CreationClassNameStringThe CreationClassName property is a string indicating the name of this class.
CreationDateDateTimeThe CreationDate property is a datetime value indicating the file's creation date.
CSCreationClassNameStringThe CSCreationClassName property is a string indicating the class of the computer system.
CSNameStringThe CSName property is a string indicating the name of the computer system.
DescriptionStringThe Description property provides a textual description of the object.
DriveStringThe Drive property is a string representing the drive letter (including colon) of the file. Example: c:
EightDotThreeFileNameStringThe EightDotThreeFileName property is a string representing the DOS-compatible file name for this file. Example: c:\progra~1
EncryptedBooleanThe Encrypted property is a boolean value indicating that the file is encrypted.
EncryptionMethodStringThe EncryptionMethod property is a free form string indicating the algorithm or tool used to encrypt the logical file. If it is not possible (or not desired) to describe the encryption scheme (perhaps for security reasons), use the following words: "Unknown" to represent that it is not known whether the logical file is encrypted or not, "Encrypted" to represent that the file is encrypted but either its encryption scheme is not known or not disclosed, and "Not Encrypted" to represent that the logical file is not encrypted.
ExtensionStringThe Extension property is a string representing the file's extension (without the dot). Example: txt, mof, mdb.
FileNameStringThe FileName property is a string representing the filename (without extension) of the file. Example: autoexec
FileSizeUInt64The FileSize property represents the size of the file (in bytes).
FileTypeStringThe FileType property is a string descriptor representing the file type (indicated by the Extension property).
FSCreationClassNameStringThe FSCreationClassName property is a string indicating the class of the file system.
FSNameStringThe FSName property is string indicating the name of the file system.
HiddenBooleanThe Hidden property is a boolean value indicating if the file is hidden.
InstallDateDateTimeThe InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.
InUseCountUInt64The InUseCount property is an integer indicating the number of 'file opens' that are currently active against the file.
LastAccessedDateTimeThe LastAccessed property is a datetime value indicating the time the file was last accessed.
LastModifiedDateTimeThe LastModified property is a datetime value indicating the time the file was last modified.
NameStringThe Name property is a string representing the inherited name that serves as a key of a logical file instance within a file system. Full path names should be provided. Example: c:\winnt\system\win.ini
PathStringThe Path property is a string representing the path of the file. This includes leading and trailing backslashes. Example: \windows\system\
ReadableBooleanThe Readable property is a boolean value indicating if the file can be read.
StatusStringThe Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.
SystemBooleanThe system property is a boolean value indicating if the file is a system file.
WriteableBooleanThe Writeable property is a boolean value indicating if the file can be written.
SAMPLE DATA INSTANCE
   Class does not currently contain data instances