You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.
FYI - I have found the Get-NsxSecurityGroupEffectiveVirtualMachine cmdlet will return a null object when parsing output from Get-NsxSecurityGroup if one of the groups doesn't contain VMs, i.e one with just IPsets in my case.
If you create a security group with just IPsets, then run: (Get-NsxSecurityGroup | Get-NsxSecurityGroupEffectiveVirtualMachine).vmname | % {"$_"}
I get a result along the lines of
`vmname1
vmname2
vmname3
vmname4
vmname5`
The text was updated successfully, but these errors were encountered:
Hi,
FYI - I have found the Get-NsxSecurityGroupEffectiveVirtualMachine cmdlet will return a null object when parsing output from Get-NsxSecurityGroup if one of the groups doesn't contain VMs, i.e one with just IPsets in my case.
If you create a security group with just IPsets, then run:
(Get-NsxSecurityGroup | Get-NsxSecurityGroupEffectiveVirtualMachine).vmname | % {"$_"}
I get a result along the lines of
`vmname1
vmname2
vmname3
vmname4
vmname5`
The text was updated successfully, but these errors were encountered: