-
Notifications
You must be signed in to change notification settings - Fork 8
Home
Raymond Piller edited this page Apr 4, 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.
Make sure ePOwerShell.ps1
is imported:
. .\ePOwerShell.ps1
Then, 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, use can use three argument instantiation.
Now you can do something, like search for your current computer in ePO:
$ePO.SystemFind($env:ComputerName)