Directory Attribute Class

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
Archiveuint321A Boolean that indicates that the file should be archived.

Values are:
1=True
0=False

Captionstring"C:\\WIN95"Describes the object. Maximum length is 64 characters.
Compresseduint320A Boolean that indicates that the file is compressed.

Values are:
1=True
0=False

CreationDatedatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates the file’s creation date.
Descriptionstring"C:\\WIN95"Describes the object.
Drivestring  
EightDotThreeFileNamestring"c:\\progra~1"Provides the DOS-compatible file name for this file.
Encrypteduint320A Boolean that indicates that the file is encrypted.

Values are:
1=True
0=False

Extensionstring"txt"Indicates the file name extension without a leading period.

Examples: txt, mof, and mdb.

FileTypestring Describes the file type indicated by the Extension property.
FSNamestring Represents the scoping FileSystem’s name. Maximum length is 256 characters.
GroupIDuint322Within 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.
InstallDatedatetimeSee “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.
LastAccesseddatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates the time that the file was last accessed.
LastModifieddatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates the time that the file was last modified.
Namestring"C:\\WIN95"Key. Defines the label that the object is known by. Maximum length is 256 characters.
Pathstring"\\ "Indicates the path of the file, which includes leading and trailing backslashes.
Readableuint320A Boolean that indicates whether the file can be read.

Values are:
1=True
0=False

ResourceIduint3242Key. 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.

RevisionIDuint321Objects 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.
Statusstring"OK"Indicates the current status of the object.

Values are:
OK
Error
Degraded
Unknown

Maximum length is 10 characters.

TimeStampdatetimeSee “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.
Writeableuint321A Boolean that indicates that the file can be written to.

Values are:
1=True
0=False