Skip to content
Raymond Piller edited this page Apr 11, 2016 · 11 revisions

This PowerShell Class allows you to easily connect to and work with your McAfee ePO Server in PowerShell 5.0+.

If you've got a script that's using this, feel free to use a settings.json file to store your ePO settings. You can use the settings_SAMPLE.json as a guide.

Quick Start

Make sure ePOwerShell.ps1 is imported:

. .\ePOwerShell.ps1

Then, create a settings.json. Next, let's instantiate the ePO class on $ePO:

$ePO = [ePO]::new()

Note: this instantiation used no arguments. No argument instantiation requires a settings.json to be created first. Otherwise, you can use three argument instantiation.

Now you can do something, like search for your current computer in ePO:

$ePO.SystemFind($env:ComputerName)

Clone this wiki locally