Create Alert from powershell
Hi Guys,
I would like to know if it is possible to create an alert from a powershell script.
I tried to use api but I received a warning like : "Unable to build a secure connection.."
Thank you for your support.
Ciao
Comments
-
Hi @panzerifabio ,
with PowerShell you can write an Eventlog and based on the Eventlog you can raise an alert :)
1 -
Windows event log alert, or alert in Atera ?
If you want to use the API to create an Alert in Atera, here is a starter for you.
0 -
Thank you.
@mjones I used this script for test but I received error code 400 bad request.
What's wrong?
Thank you
0 -
Be careful when using the API from a client pc via PowerShell as it contains the api key in clear text.
Someone could access all your data by capturing the api key including the option to edit/ remove your data.1 -
Definitely this!
0 -
You have to add your API key to the script for it to work.
If you arent familiar with Powershell or API access, I would not recommend this route.Make sure not to post your API key here, as it gives full access to your system.
1
Topics
- All Topics
- 43 Getting started
- 26 Read before posting
- 9 Meet and greet
- 268 General
- 73 News and announcements
- 2 Swag
- 3 Roadmap updates
- 1 Product Survey
- 88 Resources
- 14 Knowledge Base
- 18 Webinars
- 1 Shared Script Library
- 2 Blog
- 21 Pro Tips
- 30 Got an idea?
- 3 Atera Academy
- 3 ActionAI
- 1 Copilot
- 144 Remote Monitoring and Management
- 85 Remote Monitoring
- 29 Patch Management
- 111 Professional Services Automation
- 67 Helpdesk
- 17 Billing
- 23 Reporting
- 43 Integrations & add-ons
- 23 Integrations
- 11 Add-ons
- 109 Scripting and automations
- 62 Scripts
- 32 Automations