Compartilhar via


Software Inventory Report (Windows CE 5.0)

Send Feedback

A software inventory report consists of Directory and File elements organized in a standard file-system tree structure. This report is a listing of files as specified by the server by the SoftwareInventorySettings element in the server response to device poll message.

Software Inventory Report XML elements

The following table shows the software inventory report XML elements.

Element Description
FileReport Root element of the software inventory status document.
Directory Used to describe the file system directories on the client.
File Used to describe the files on the client.

Software Inventory Report XML Schema

The following schema is recommended for a Software Inventory Report task scheduled to the server.

<FileReport>
  <!-- Always start with a root directory element.-->
  <!-- Directory elements may contain zero or more -->
  <!-- Directory elements and File sub-elements -->
  <Directory
    <!-- Always a full qualified name -->
    Name="Fully qualified directory name"
    Created="Creation date"
    LastAccessed="Date last accessed"
    Attributes="File system attributes">
    <!-- File elements must not have any sub-elements -->
    <File
      Name="Name of the file"
      Version="File version"
      Company="Company name"
      Description="File description"
      Size="File size in bytes"
      Created="Creation date"
      LastModified="Last modified date"
      LastAccessed="Last accessed date"
      Attributes="File system attributes"
    />
  </Directory >
</FileReport>

Software Inventory Report Example

The following code example shows a software inventory report.

X-Device-Action: Report
X-Device-ReportType: SoftwareInventory
<FileReport>
  <Directory Name="\myFolder" Created="1999-06-01 12:00:00" LastAccessed="1999-06-01 12:00:00" Attributes="">
    <File Name="Messenger.lnk" Version="0.0.0" Company="" Description="" Size="22" Created="1999-06-01 12:00:00" LastModified="1999-06-01 12:00:00" LastAccessed="1999-06-01 12:00:00" Attributes=""/>
    <File Name="Media Player.lnk" Version="0.0.0" Company="" Description="" Size="15" Created="1999-06-01 12:00:00" LastModified="1999-06-01 12:00:00" LastAccessed="1999-06-01 12:00:00" Attributes=""/>
    < Directory Name="\myFolder\Microsoft File Viewers" Created="1999-06-01 12:00:00" LastAccessed="1999-06-01 12:00:00" Attributes="">
      <File Name="Sample1.exe" Version="0.0.0" Company="" Description="" Size="21" Created="1999-06-01 12:00:00" LastModified="1999-06-01 12:00:00" LastAccessed="1999-06-01 12:00:00" Attributes=""/>
    </Directory>
    <File Name="Internet Explorer.lnk" Version="0.0.0" Company="" Description="" SIZE="24" Created="1999-06-01 12:00:00" LastModified="1999-06-01 12:00:00" LastAccessed="1999-06-01 12:00:00" Attributes=""/>
  </Directory>
</FileReport>

See Also

Device Management Operation | Server Response to the Device Poll

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.