| Win32_PageFile | |||
| The Win32_PageFile class has been Deprecated in favor of the Win32_PageFileUsage and Win32_PageFileSetting. These classes respectively correspond to the runtime and persisted states of pagefiles. The Win32_PageFile represents the file used for handling virtual memory file swapping on a Win32 system. Example: C:\PAGEFILE.SYS Note: The SE_CREATE_PAGEFILE privilege is required for Windows XP | |||
| NameSpace Path | |||
| \ROOT\CIMV2 | |||
| PROPERTY | SMS_REPORT | CIMTYPE | DESCRIPTION |
| AccessMask | UInt32 | The 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. | |
| Archive | Boolean | The Archive property is a boolean value indicating that the file should be archived. | |
| Caption | String | The Caption property is a short textual description (one-line string) of the object. | |
| Compressed | Boolean | The Compressed property is a boolean value indicating that the file is compressed. | |
| CompressionMethod | String | The 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. | |
| CreationClassName | String | The CreationClassName property is a string indicating the name of this class. | |
| CreationDate | DateTime | The CreationDate property is a datetime value indicating the file's creation date. | |
| CSCreationClassName | String | The CSCreationClassName property is a string indicating the class of the computer system. | |
| CSName | String | The CSName property is a string indicating the name of the computer system. | |
| Description | String | The Description property provides a textual description of the object. | |
| Drive | String | The Drive property is a string representing the drive letter (including colon) of the file. Example: c: | |
| EightDotThreeFileName | String | The EightDotThreeFileName property is a string representing the DOS-compatible file name for this file. Example: c:\progra~1 | |
| Encrypted | Boolean | The Encrypted property is a boolean value indicating that the file is encrypted. | |
| EncryptionMethod | String | The 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. | |
| Extension | String | The Extension property is a string representing the file's extension (without the dot). Example: txt, mof, mdb. | |
| FileName | String | The FileName property is a string representing the filename (without extension) of the file. Example: autoexec | |
| FileSize | UInt64 | The FileSize property represents the size of the file (in bytes). | |
| FileType | String | The FileType property is a string descriptor representing the file type (indicated by the Extension property). | |
| FreeSpace | UInt32 | The FreeSpace property indicates the space available in the paging file. The operating system can enlarge the paging file as necessary up to the limit imposed by the user. This member shows the difference between the size of current committed memory and the current size of the paging file - it does not show the largest possible size of the paging file. This property has been deprecated in favor of a corresponding property(s) contained in the Win32_PageFileUsage and//or the Win32_PageFileSetting. | |
| FSCreationClassName | String | The FSCreationClassName property is a string indicating the class of the file system. | |
| FSName | String | The FSName property is string indicating the name of the file system. | |
| Hidden | Boolean | The Hidden property is a boolean value indicating if the file is hidden. | |
| InitialSize | UInt32 | The InitialSize property indicates the initial size of the page file. This property has been deprecated in favor of the corresponding property in the Win32_PageFileSetting class. | |
| InstallDate | DateTime | The 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. | |
| InUseCount | UInt64 | The InUseCount property is an integer indicating the number of 'file opens' that are currently active against the file. | |
| LastAccessed | DateTime | The LastAccessed property is a datetime value indicating the time the file was last accessed. | |
| LastModified | DateTime | The LastModified property is a datetime value indicating the time the file was last modified. | |
| Manufacturer | String | Manufacturer string from version resource if one is present. | |
| MaximumSize | UInt32 | The MaximumSize property indicates the maximum size of the page file as set by the user. The operating system will not allow the page file to exceed this limit. This property has been deprecated in favor of the corresponding property in the Win32_PageFileSetting class. | |
| Name | String | The Name property indicates the name of the page file. Example: C:\PAGEFILE.SYS The name property has been deprecated in favor of the corresponding property contained in the Win32_PageFileUsage and the Win32_PageFileSetting. | |
| Path | String | The Path property is a string representing the path of the file. This includes leading and trailing backslashes. Example: \windows\system\ | |
| Readable | Boolean | The Readable property is a boolean value indicating if the file can be read. | |
| Status | String | The 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. | |
| System | Boolean | The system property is a boolean value indicating if the file is a system file. | |
| Version | String | Version string from version resource if one is present. | |
| Writeable | Boolean | The Writeable property is a boolean value indicating if the file can be written. | |
| SAMPLE DATA INSTANCE | |||
|    [LOCALE(1033): ToInstance Amended]    instance of Win32_PageFile    {     Archive = TRUE;     Caption = "c:\\pagefile.sys";     Compressed = FALSE;     CreationClassName = "CIM_LogicalFile";     CreationDate = "20091214140704.718750-480";     CSCreationClassName = "Win32_ComputerSystem";     CSName = "SCCM01";     Description = "c:\\pagefile.sys";     Drive = "c:";     EightDotThreeFileName = "c:\\pagefile.sys";     Encrypted = FALSE;     Extension = "sys";     FileName = "pagefile";     FileSize = "1610612736";     FileType = "System file";     FSCreationClassName = "Win32_FileSystem";     FSName = "NTFS";     Hidden = TRUE;     InitialSize = 1536;     InstallDate = "20091214140704.718750-480";     LastAccessed = "20110328152150.421875-420";     LastModified = "20110328152150.421875-420";     MaximumSize = 3072;     Name = "C:\\pagefile.sys";     Path = "\\";     Readable = TRUE;     Status = "OK";     System = TRUE;     Writeable = TRUE;    }; | |||