Vertigoray: What version of ePO does your ePOwerShell scripts run against? - We have 4.6.6.
Good question! We're on 5.3
i want to get the installed application list form end points using powershell as below, please help how i can import the data in epo?
$Regexes = 'Microsoft Visual*','Driver*','Microsoft Application Virtualization*','Adobe Reader XI','Adobe Shockwave Player 11.5','Crystal Reports Viewer 2008','OMM_*','TeamViewer*'
Get-RemoteProgram -Property SystemComponent | Where-Object {($_.ProgramName -notmatch 'KB\d+') -and (-not $_.SystemComponent) -and $($ProgramName=$_.ProgramName;if (($Regexes | ForEach-Object {$ProgramName -notlike $_}) -contains $false) {$false} else {$true})}
Is there a way to set groups yet?
I see there's a get-epogroup which returns the some information about groups within EPO but is there a way to move computers? I'm writing a script to automate a lot of the re-imaging process and being able to automatically move machines groups would be a blessing.
I was thinking Invoke-epoClientTask might have that functionality? Anyone know if this is possible to automate with PS?
Thanks!
Yes, this is possible with EPO 5.3.2 and possibly 5.3.3 but unfortunately not with EPO 5.9. I opened a service request but we were declined support because McAfee doesn't support their own Web API... what?!
Anyway here is the Powershell script we are using to move machines to different groups during a task sequence with SCCM:
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
$TSEnv = New-Object -COMObject Microsoft.SMS.TSEnvironment
$epoServer = "https://SERVER:8443"
$epoUser = $TSEnv.Value("epoUser")
$epoPassword = $TSEnv.Value("epoPassword")
$computerName = $TSEnv.Value("OSDComputerName")
$McAfeeDE = $TSEnv.Value("McAfeeDE")
$URL_Encrypt = "$epoServer/remote/system.move?names=$computerName&parentGroupId=19"
if ($McAfeeDE -eq "True") {
$Move = New-Object System.Net.Webclient
$Move.credentials = New-Object System.Net.NetworkCredential -ArgumentList ($epoUser,$epoPassword)
$Move.DownloadString($URL_Encrypt)
}
else {
}
Hi, I am new to this forum and powershell, but have created an asset management script and would like help with the following:
Connect powershell to EPO 5.3.2 Build 156
Enter computer name (already being done as $name)
Retrieve IP address
Retrieve Username
Many thanks !
Download the new ePolicy Orchestrator (ePO) Support Center Extension which simplifies ePO management and provides support resources directly in the console. Learn more about ePO Support Center
Corporate Headquarters
2821 Mission College Blvd.
Santa Clara, CA 95054 USA