< Back
Get-ePoQuery
Post
NAME Get-ePoQuery
SYNOPSIS
Gets queries available using the ePo API.
SYNTAX
Get-ePoQuery [-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
-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
Used by Start-ePoQuery
TODO: Determine if this function and Start-ePoQuery should be consolidated into one function.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$ePoQueries = Get-ePoQuery
$ePoQueries
Returns the output of the core.listQueries API command and stores the PowerShell custom object in a variable.
RELATED LINKS
SYNOPSIS
Gets queries available using the ePo API.
SYNTAX
Get-ePoQuery [-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
-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
Used by Start-ePoQuery
TODO: Determine if this function and Start-ePoQuery should be consolidated into one function.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$ePoQueries = Get-ePoQuery
$ePoQueries
Returns the output of the core.listQueries API command and stores the PowerShell custom object in a variable.
RELATED LINKS