The code I have so far is the following -
param(
[string]$ePOServer,
[string]$ePOUser,
[string]$ePOPassword,
[string]$ePOPort = "8443",
[switch]$ForceFullPolicyUpdate
)
# Define the functions from the ePowershell module that are needed to connect to and work with your ePO server
function Connect-EpoServer {
}
function Disconnect-EpoServer {
}
# Connect to the ePO server
Connect-EpoServer -Server $ePOServer -User $ePOUser -Password $ePOPassword -Port $ePOPort
I need another command after to update the AV Scan engine to the current version, something like Invoke-McAfeeEpoUpdateCheck.
But i'm not sure where to go with this next. I'm using this as a library - https://www.powershellgallery.com/packages/ePOwerShell/2.2.0/Content/ePOwerShell.psm1
thanks