How to Deploy CYRISMA Agents via PowerShell
Many remote management and software deployment platforms support the deployment of applications through scripting. PowerShell is one such tool that can be configured to deploy the CYRISMA Agent across your organization using a script. Below is a sample PowerShell script that you can customize to automate the deployment process.
- User Manual
- Agents
- The Cyber Risk Assessment Process
- API Documents
- General Questions and Troubleshooting
- The Cyber Risk Assessment Process (Video Tutorials)
- Sales and Prospecting Articles
- CYRISMA Partner Portal Access
- Glossary
- CYRISMA Change Log
- Support Ticket SLA
- Onboarding Framework
- PSA Integrations
- Billing Questions
- Self Onboarding Guide
Table of Contents
$a="/verysilent /key=XXXXXXXX /URL=XXXXXXXX" $WebClient = New-Object System.Net.WebClient $WebClient.DownloadFile("https://dl.cyrisma.com/6167656E7473/Cyrisma_Setup.exe", "C:\windows\temp\Cyrisma_Setup.exe") $process="C:\windows\temp\Cyrisma_Setup.exe" Start-Process $process -ArgumentList $a -Wait
Instructions
Customize the Script:
- Replace the placeholder XXXXXXXX in the script with your unique key and URL from your CYRISMA instance.
- The key and URL can be found in your CYRISMA instance under Admin > Scan Agents.
Deploy via Your Management Platform:
- Once customized, use your preferred remote management or software deployment platform to run the PowerShell script across all the target machines.
Important Notes:
-
Reserved Variables: Avoid using
$args
as a variable in PowerShell scripts. It's a reserved keyword in PowerShell used for catching undeclared parameters, so using it explicitly can cause errors. - Ensure that your deployment platform is properly configured to run PowerShell scripts on remote systems.
Conclusion
By following the steps outlined and using the PowerShell script provided, you can automate the deployment of CYRISMA Agents across your organization. This method provides an efficient and scalable way to roll out the CYRISMA Agent using your existing deployment tools.