AutomoxAutomox

Worklet: Install Netskope on AWS Workspaces

jbell
September 14, 2022 at 1:35 am UTC
#Worklets

Hello,

I am running into an issue where I can install Netskope to laptops via Automox using the following:

 

Start-Process msiexec "/I NSClient.msi token=123456ABCDEF host=addon-company.goskope.com mode=peruserconfig autoupdate=on /qn"

 

But when I try to push to AWS Workspaces - It will not install via Automox. Any ideas? 

This discussion is archived and closed to replies. Continue it in the Automox Community Slack.

Discuss on Slack

Replies (1)

jack.smithSeptember 16, 2022
#1

Here is a technique I do with MSIexec after using it in an automox script. This will put details from event log into the activity log. Also like to add a log on the local drive so if the error in event log is too generic there is a deeper way to look at it. 

powershell11 lines
# Install App
Start-Process msiexec "/I NSClient.msi token=123456ABCDEF host=addon-company.goskope.com mode=peruserconfig autoupdate=on /qn /l*v C:\windows\temp\NSClientInstall.log"

# Write Output From Event Log
$events = Get-WinEvent -FilterHashtable @{
   LogName='Application'
   ProviderName='MSIInstaller'
} -MaxEvents 10 | Where-Object Message -match "Netskope"
foreach($event in $events){
   Write-Output "$($event.TimeCreated) >> $($event.Message)"
}