< Back

Get-ePoGroup

Sat Jan 18, 2020 7:47 pm

NAME Get-ePoGroup



SYNOPSIS

Gets ePoGroup information using the ePo API.





SYNTAX

Get-ePoGroup [[-Filter] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Sends the command specified to the McAfee EPO server. Connect-ePoServer has to be run first,

as this function uses the epoServer global variable created by that functions connection to the server. Uses the

Invoke-ePoCommand





PARAMETERS

-Filter <String>

Search text, wildcards are not supported. Defaults to all groups.



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Requires Connect-ePoServer to have been run first. All output is returned as a string currently, still looking

into ways to convert it to an object.

Added support for Whatif



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$ePoGroups = Get-ePoGroup



$CurrentPC



Retruns the output of the system.findGroups API command and stores the results in a variable.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>$FoundSystems = Get-ePoGroup -Filter "Admin"



Returns an object of the results of the system.findGroups search for groups with Admin in their names.











RELATED LINKS