Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Create a Support Ticket
  • Partner Portal
  • CYRISMA MSP Dashboard
  • Home
  • Agents

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.

Written by Liam Downward

Updated at February 14th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • User Manual
    Overall Risk Dashboard Agent Status Report Builder Data Scan Vulnerability Scan Secure Baseline Compliance Mitigation Dark Web MSP Interface Instance Admin
  • Self Onboarding Guide
  • Agents
  • The Cyber Risk Assessment Process
  • PSA Integrations
  • General Questions and Troubleshooting
    Agent Troubleshooting Scanning Troubleshooting
  • The Cyber Risk Assessment Process (Video Tutorials)
  • Sales and Prospecting Articles
  • CYRISMA Partner Portal Access
  • Glossary
  • API Documents
  • CYRISMA Change Log
  • Support Ticket SLA
  • Billing Questions
+ More

Table of Contents

Sample PowerShell Script (Without Auto Provisioning) Optional: Sample PowerShell Script (With Auto Provisioning) Instructions Customize the Script Choosing Between Manual and Auto Provisioning Deployment Important Notes Conclusion

Sample PowerShell Script (Without Auto Provisioning)

This script requires manual provisioning in the CYRISMA Command Center after installation.

$a = "/verysilent /key=XXXXXX /URL=XX"
$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 -FilePath $process -ArgumentList $a -Wait

Optional: Sample PowerShell Script (With Auto Provisioning)

This version automatically provisions the agent, skipping the manual provisioning step in the Command Center.

$a = "/verysilent /key=XXXXXX /URL=XX /autoprovision=yes"
$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 -FilePath $process -ArgumentList $a -Wait

Instructions

Customize the Script

Replace XXXXXXXX with your unique key and instance URL, which can be found in the CYRISMA Command Center under Admin > Scan Agents.

Choosing Between Manual and Auto Provisioning

  • The first script requires the agent to be manually provisioned in the Command Center after installation.
  • The second script includes the /autoprovision=yes switch, which automatically provisions the agent.
  • If using auto provisioning, place the switch after the key and URL with no spaces around the "=" sign.

Deployment

After customizing the script, run it using your preferred remote management or software deployment platform.


Important Notes

  • Avoid using $args as a variable in PowerShell scripts, as it is a reserved keyword in PowerShell.
  • Ensure that your deployment platform is properly configured to run PowerShell scripts on remote systems.
  • Auto provisioning should be used carefully, especially in environments with multiple instances, to prevent accidental installations.

Conclusion

Both scripts provide an efficient way to deploy CYRISMA Agents. The manual provisioning method adds an extra layer of control, while the auto provisioning option allows for large-scale deployments with minimal manual intervention. Choose the method that best fits your deployment needs.

powershell deploy scripting agents cyrisma

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • CYRISMA Glossary
  • Resolving CYRISMA Agent Issues with SentinelOne Security
  • Google Drive Error: Domain Administrators Have Disabled Drive Apps
  • How to uninstall the CYRISMA Agent

Partners
pax8
CDW
Stellar Cyber
RedSky Alliance

Request A Demo
Platform
  • Platform Overview
  • Resellers
  • Managed Service Providers
  • Request A Demo
  • Platform Overview
  • Resellers
  • Managed Service Providers
  • Request A Demo
Resources
  • Case Studies
  • White Papers
  • Videos
  • Blog
  • Press Release
  • Events
  • Case Studies
  • White Papers
  • Videos
  • Blog
  • Press Release
  • Events
Contact Us
Address: 510 Clinton Square, Rochester, New York, USA, 14604

Email: info@cyrisma.com

Phone: 1-585-620-2496

Easiest To Do Business With Summer 2023
Category Leader Channel Program
Capterra
Software Advice

Terms of Use          Privacy Policy

Copyright © 2024 – Data Spotlite, Inc All rights reserved.
Expand