How can I query WMI GroupUser objects and select PartComponent attribute

437 views Asked by At

I want to select Account attribute in this query

example : SELECT Description, Disabled, Domain, FullName, Lockout, Name, SID FROM Win32_UserAccount WHERE Domain = '<domainName>'

I'm trying to get

SELECT PartComponent FROM Win32_GroupUser WHERE GroupComponent=`"Win32_Group.Domain='xxx',Name='xxx'`""

I am trying to fetch attribute in partcomponent attribute but I can't get any result from the partcomponent

0

There are 0 answers