QFE COM Input Format sample

This sample COM input format implements an enumerator of QFE updates on the computer specified in the FROM clause.

The following steps need to be performed in order to use this input format:

1. Register the QFE scriptlet with the following command:
   `regsvr32 QFE.wsc`

2. To see the fields returned by this input format, execute the following Log Parser command:
   `logparser -h -i:COM -iprogid:MSUtil.LogQuery.Sample.QFE`

3. Execute the following Log Parser query to retrieve QFE information from the local machine:
   `logparser "SELECT * FROM ." -i:COM -iprogid:MSUtil.LogQuery.Sample.QFE`
   The query will return:

       QFE      Description                            InstallDate InstalledBy
       -------- -------------------------------------- ----------- -----------
       KB822925 Windows Server 2003 Hotfix - KB 822925 -           gabriegi
       KB823182 Windows Server 2003 Hotfix - KB 823182 -           gabriegi
       KB823559 Windows Server 2003 Hotfix - KB 823559 -           gabriegi

4. Execute the following Log Parser query to retrieve extended QFE information from the local machine:
   `logparser "SELECT * FROM ." -i:COM -iprogid:MSUtil.LogQuery.Sample.QFE -icomparams:ExtendedFields=on`
   The query will return:

       QFE      Description                            InstallDate InstalledBy Comments SP
       -------- -------------------------------------- ----------- ----------- -------- ---
       KB822925 Windows Server 2003 Hotfix - KB 822925 -           gabriegi    Update	 SP1
       KB823182 Windows Server 2003 Hotfix - KB 823182 -           gabriegi    Update	 SP1
       KB823559 Windows Server 2003 Hotfix - KB 823559 -           gabriegi    Update	 SP1