Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Agente Intel Endpoint Management Assistant
Switch EMA Agent: EMAAgent.exe -fullinstall
set-executionpolicy bypass
New-item -path C:\temp2 –type directory
$system = 'C:\windows\system32\'
$route = 'C:\temp2\'
.\azcopy copy '' 'C:\temp2\'
.\azcopy copy '' 'C:\temp2\'
start 'C:\Temp2\Agente_EMA.exe'
write-host "End of Script"
Remove-Item -path "C:\temp2\azcopy.exe"
Start-Sleep -Seconds 10
Remove-Item -path "C:\temp2\Agente_EMA.exe"
Remove-Item -path "C:\temp2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment