This class contains information about a directory on a client computer. The class is based on Win32_Directory. This class is not included in a default hardware inventory operation.
Table C.9 Directory Attribute Class (SMS_G_System_DIRECTORY)
| Property (Bold if collected) | Data type | Example | Notes |
|---|---|---|---|
| Archive | uint32 | 1 | A Boolean that indicates that the file should be archived.
Values are: |
| Caption | string | "C:\\WIN95" | Describes the object. Maximum length is 64 characters. |
| Compressed | uint32 | 0 | A Boolean that indicates that the file is compressed.
Values are: |
| CreationDate | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates the file’s creation date. |
| Description | string | "C:\\WIN95" | Describes the object. |
| Drive | string | ||
| EightDotThreeFileName | string | "c:\\progra~1" | Provides the DOS-compatible file name for this file. |
| Encrypted | uint32 | 0 | A Boolean that indicates that the file is encrypted.
Values are: |
| Extension | string | "txt" | Indicates the file name extension without a leading period.
Examples: txt, mof, and mdb. |
| FileType | string | Describes the file type indicated by the Extension property. | |
| FSName | string | Represents the scoping FileSystem’s name. Maximum length is 256 characters. | |
| GroupID | uint32 | 2 | Within one ResourceId (one SMS client), GroupID distinguishes one instance of a class from another. Objects with the same ResourceId and GroupID are “deltas” of one another, describing the same hardware inventory instance at different points in time. This is not a collectable property. |
| InstallDate | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates when the object was installed. The absence of a value does not indicate that the object is not installed. |
| LastAccessed | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates the time that the file was last accessed. |
| LastModified | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates the time that the file was last modified. |
| Name | string | "C:\\WIN95" | Key. Defines the label that the object is known by. Maximum length is 256 characters. |
| Path | string | "\\ " | Indicates the path of the file, which includes leading and trailing backslashes. |
| Readable | uint32 | 0 | A Boolean that indicates whether the file can be read.
Values are: |
| ResourceId | uint32 | 42 | Key. Inventory items with the same ResourceId were all discovered on the same SMS client. The ResourceId identifies the SMS client.
A ResourceId is an integer generated for the sake of SQL; it is not unique outside the site and should be used only for short-term querying purposes. It is not a collectable property. |
| RevisionID | uint32 | 1 | Objects with the same ResourceId and GroupID are deltas, differentiated from one another by RevisionID number. The highest number is the most recent update. This is not a collectable property. |
| Status | string | "OK" | Indicates the current status of the object.
Values are: Maximum length is 10 characters. |
| TimeStamp | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates when the information in this object was last revised. This is not a collectable property. |
| Writeable | uint32 | 1 | A Boolean that indicates that the file can be written to.
Values are: |