How to Install Tenable Nessus Agent on Windows using PowerShell | Tenable Vulnerability Management

Technology Interpreters Guide 4 months ago

Description

Learn how to automate the installation and linking of the Tenable Nessus agent using Windows PowerShell. Whether you are deploying to dozens or thousands of machines, mastering this command-line process is essential for scaling your Tenable Vulnerability Management environment.

In this step-by-step tutorial, we build a complete mass deployment script from scratch. We start by locating the exact download URL and using Invoke-WebRequest to pull the installer directly to the target machine. From there, we construct the MSIExec installation string, passing critical arguments like your unique linking key, the sensor.cloud.tenable.com host, port 443, and your specific agent group.

You will also learn how to troubleshoot common syntax issues—like using backticks to properly escape double quotes for group names with spaces—and how to verify your installation using Get-Process and the nessuscli tool.

Key Topics Covered:
- Finding the exact Nessus Agent download URL
- Using PowerShell (Invoke-WebRequest) to download the MSI file
- Building the silent MSIExec installation and linking script
- Handling spaces in group names using PowerShell escape characters (backticks)
- Verifying the agent process and forcing a console link manually

Don't forget to like and subscribe for more Tenable Vulnerability Management tutorials! #Tenable #NessusAgent #CyberSecurity #PowerShell #SysAdmin #VulnerabilityManagement #TechTutorial @Tenable @TenableProductEducation