Utils/groups.ps1

Register-GnuUtil @{
    Name        = 'groups'
    Category    = 'User and system info'
    Synopsis    = 'Print the groups a user is in.'
    Usage       = @('groups [OPTION]... [USERNAME]...')
    Description = @(
        'Print group memberships for each USERNAME or, if no USERNAME is specified, for',
        'the current process (which may differ if the groups database has changed).'
    )
    Notes       = @('PowerShell note: on Windows the names are DOMAIN\NAME (SIDs for unknown groups); other users have no group information.')
}