Open McGreggor opened 4 years ago
When I run
Get-NsxServiceGroupMember -ServiceGroup (Get-NsxServiceGroup -Name "Microsoft Active Directory" -LocalOnly) -objectId (Get-NsxService -Name "MS-DS-UDP" -LocalOnly).objectId
I get all service objects return, not just the MS-DS-UDP object as expected.
Hi @McGreggor,
yes, there is a bug... there is objectId parameer on Get-NSXServiceGroupMember but it is not used.. (File PowerNSX.psm1 line 27000)
When I run
Get-NsxServiceGroupMember -ServiceGroup (Get-NsxServiceGroup -Name "Microsoft Active Directory" -LocalOnly) -objectId (Get-NsxService -Name "MS-DS-UDP" -LocalOnly).objectId
I get all service objects return, not just the MS-DS-UDP object as expected.