Skip to content

Instantly share code, notes, and snippets.

Embed
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 'https://yourstorage.blob.core.windows.net/deploymentmx/azcopy.exe' 'C:\temp2\'
.\azcopy copy 'https://yourstorage.blob.core.windows.net/deploymentmx/Agente_EMA.exe' '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"
exit
***********************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.