myITforum and Windows IT Pro Forums

 Can CM12 hardware inventory get more information by calling a WMI Method

Author Message
besthyde

  • Total Posts : 2
  • Scores: 0
  • Reward points : 22870
  • Joined: 11/6/2007
  • Status: offline
Can CM12 hardware inventory get more information by calling a WMI Method Thursday, August 14, 2014 6:06 AM (permalink)
0
i have a question for CM12 hardware inventory. here is my question

i'm now have a powershell script which can lists all the shared folder permissions or NTFS permissions. This powershell get such information by calling a WMI Method in Win32_LogicalShareSecuritySetting.
here is the powershell link 
i'm now trying to implement this in SCCM 2012 R2. In SCCM client settings you can add a BASIC WMI classes very simply. But i didn't find a way to calling WMI classes Method by SCCM hardware inventory which can help me get more information just like the powershell i posted.
i'm really not familiar with WMI and not under what is WMI method very clearly.. just hope someone can give me a quick answer of my question
Any help will be greatly appreciated
 
Thanks
MJQIAN
 
 
#1
    gjones

    • Total Posts : 2531
    • Scores: 142
    • Reward points : 149970
    • Joined: 6/5/2001
    • Location: Ottawa, Ontario, Canada
    • Status: offline
    Re:Can CM12 hardware inventory get more information by calling a WMI Method Thursday, August 14, 2014 8:24 AM (permalink)
    0
    I don’t want to disagree with Peter but, If you are taking about natively Triggering the WMI Method for this Class, aka GetSecurityDesciptor, then no it is possible without you creating your own WMI Provider or scripting this so that a static WMI class is created. Then this become a simple matter for CM12 to inventory, just like and other WMI class aka as Peter has described.  If are you trying to just query Select * from Win32_LogicalFileSecuritySetting then yes it is possible and you can do it just as Peter has described.
     
    #2
      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 2 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2014 ASPPlayground.NET Forum Version 3.9