10 lines
312 B
PowerShell
10 lines
312 B
PowerShell
Param(
|
|
[string] $KEY
|
|
)
|
|
|
|
Write-Host "--- Installing Tenable Nessus Agent..."
|
|
|
|
$command = "/I C:\provision\win-common\tenable\NessusAgent-10.2.0-x64.msi NESSUS_GROUPS=""Qlik IT Cloud Agents"" NESSUS_SERVER=""cloud.tenable.com:443"" NESSUS_KEY=$KEY /qn"
|
|
|
|
Start-Process msiexec.exe -Wait -ArgumentList $command
|