Error when trying to extend the mof file , sccm

Tanoj Mahishkar 1 Reputation point
2020-09-16T14:15:18.39+00:00

25235-errorimage.jpg25146-mof-file-currenttxt.txt

Hi

i did not find the tag for SCCM so sepected scom , please add tag for sccm too,

i followed the below weblink and trying to extend the Hardware inventory to inventor sql 2019 edition and version information

Note: we have already extended the mof file 2 years back and we already getting inventory information from sql 2008 till 2017 , so am just trying to add the 2019

Please find attached the error pic and mof file ,

https://sccmf12twice.com/2019/07/sql-server-product-and-version-reporting-with-sccm/

Thank you

Microsoft Configuration Manager
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 42,356 Reputation points Microsoft Vendor
    2020-09-17T09:09:38.757+00:00

    @Tanoj Mahishkar
    Thank you for posting in Microsoft Q&A forum.
    Your file works for me:
    25456-40.jpg
    Looks like mentioned in this post, you may also try to use echo command to push syntax into the file.
    https://social.technet.microsoft.com/Forums/Azure/en-US/433796ce-c504-428d-a6e0-0ea1f023f986/mofcomp-error-for-configurationmof-error-unexpected-token-at-file-scope-0x8004400a?forum=ConfigMgrDeployment


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments