-
Notifications
You must be signed in to change notification settings - Fork 8
Get ePOGroup
Finds available groups on the ePO server
Get-ePOGroup [[-Group] <Object>] [-ForceWildcardHandling] [<CommonParameters>]
Finds all available groups from the ePO server as an ePOGroup object. If a group name is specifed, it searches for only the one group from the server. If a group is not specified, then it will return a list of all available groups on the ePO server.
$Groups = Get-ePOGroup
Returns array of ePOGroup objects containing group information
$Groups = Get-ePOGroup 'Group1'
Returns array of ePOGroup objects containing requested group information with matching group name
$Groups = Get-ePOGroup 'Group*' -ForceWildcardHandling
Returns array of ePOGroup objects containing requested group information with matching group name by wildcard
Specifies a group name to be found on the ePO server. This parameter can be provider by either:
* an ePOGroup object
* a group name
This parameter can be passed in from the pipeline.
Type: Object
Parameter Sets: (All)
Aliases: GroupName
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Allows for wildcards to be used when searching by group name
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.