Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Get-NsxServiceGroupMember doesn't filter on -objectID parameter correctly #622

Open
McGreggor opened this issue May 19, 2020 · 1 comment

Comments

@McGreggor
Copy link

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.

@alagoutte
Copy link
Contributor

Hi @McGreggor,

yes, there is a bug... there is objectId parameer on Get-NSXServiceGroupMember but it is not used..
(File PowerNSX.psm1 line 27000)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants