Hello,
I am working on building patch package automatically. One of the things I am trying to get is the SourceURL property from the SMS_CIContentFiles object for a specific update. I am running into a problem however when attempting to get an instance of the object.
Here are the following steps I have taken:
1) Open WBEMTest and connect to the SMS Provider.
2) Click Open Instance
3) Enter SMS_CIContentFiles.ContentID=9712 (for example, any ContentID will work).
Upon doing this I receive an "Invalid Object Path" error message. According to the SDK docs, the ContentID field is a key so this should work as far as I know. Using a WQL search works fine (SELECT * FROM SMS_CIContentFiles WHERE ContentID=9712). Has anyone else run into this issue before? I know it is rather minor, but it is just a little cleaner code to get a instance instead of performing a query and looping the resultset. I can get an instance of a SMS_SoftwareUpdatesPackage object using the PackageID key, that works fine. I am just puzzeled as to why it is not working on the SMS_CIContentFiles class.
Thanks for any help!
Andrew
Problem getting SMS_CIContentFiles Instance
January 25th, 2010 11:16pm
Yes, I know this is an old post, but Im trying to clean them up. Did you solve this problem, if so what was the solution?
Free Windows Admin Tool Kit Click here and download it now
May 22nd, 2015 2:02pm