< Back

Get-ePoTable

Sat Jan 18, 2020 7:48 pm

NAME Get-ePoTable



SYNOPSIS

Gets table information using the ePo API.





SYNTAX

Get-ePoTable [[-TableName] <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

-TableName <String[]>

The database type-qualified name of the table to which view the details. Defaults to all tables.



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





Added support for an array of strings for the TableName parameter

Added support for -Whatif



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



PS C:\\>$ePoTables = Get-ePoTable



$ePoTables



Retruns the output of the core.listTables API command and stores the PowerShell custom object in a variable.









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



PS C:\\>$FoundTable = Get-ePoTable -TableName "MyTable"



Returns an object of the results of the core.listTables API command with a table name of MyTable.











RELATED LINKS