Returns all fog groups
Gets all the fog groups and returns them in an object
$groups = Get-FogGroups
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
A group object does not contain membership information, you need to filter groupassociations to find membership but this will give you the id of the group to search for within that object, you'll also need the host id to find all associations of a host