I'm trying to get equivalent query to the following script
$domain='Domain'
$group='Group'
$t="SELECT PartComponent FROM Win32_GroupUser WHERE GroupComponent="Win32_Group.Domain='xx',Name='xxx'""
`
$query=$t -f $domain,$group Get-WmiObject -Query $query -computer $domain | %{wmi}| select Description, Disabled, Domain, FullName, Lockout, Name, SID
your suggestion are appreciated