Create, generate using AI, or upload scripts via Atera.
Create a script
Opt for traditional script crafting or embrace the future with AI-generated efficiency — the choice is yours!
Note:
- When creating scripts, you can copy/paste from your preferred text/script/HTML editor.
- When incorporating variables, employ {[variable_name]} without any spaces or special characters (!@#$%^&*).
- The create script option allows the generation of Batch (.bat), PowerShell (ps1), or Shell (.sh) scripts. You can also upload Executable file (.exe) and Microsoft Installer (.msi) files to Atera.
- In the Pro subscription plan for Atera, there is a 20MB limit for uploading .msi and .exe files. For users on higher subscription tiers, the upload limit is increased to 1GB.
- In the Professional subscription plan for Atera, there is a 20MB limit for uploading .msi and .exe files. For users on higher subscription tiers, the upload limit is increased to 1GB.
To create a script:
1. Go to Admin > Monitoring and automation > Scripts.
2. Click Create script.
The Create script page appears.
4. Fill in the mandatory fields:
- Script name: Enter the name of the script
- Script Description: Enter the description
- File Type: Choose either Batch (.bat)., PowerShell (ps1), or Shell (.sh) file type.
5. Click More script properties to fill in other fields (optional).
- Category: Enter the category (or select one from the dropdown list).
- Max script run time (minutes): Specify the maximum script run time (can be from 1 - 60 minutes).
- Arguments: Enter any arguments for the script.
- Run as: To run the script as a system administrator, tick System. To run the script as a current (local) user, tick Current user.
6. Enter the script in the script editor. Then click Create.
The script is created and will appear in the My scripts tab.
You can now run the script or schedule it via an IT automation profile
Generate script using AI
Generate script recommendations tailored to your needs using AI by providing a prompt in everyday language. You can also modify or create scripts from scratch by typing comments with '#' in the script editor. Learn more
Upload a script
All scripts run via Atera, including those with *.exe and *.msi files, are run silently on Windows devices. However, when including installation files, you may need to include additional arguments for silent installation. In such instances, if the script isn’t set up to include these argument(s), it will continue to run in the background without a user interface, preventing the end user from interacting with the installation wizard and resulting in the software not being installed. To ensure that installations are completed successfully, it’s essential to be familiar with the installation files you’re working with as well as the relevant parameters needed to run them silently.
To upload a script:
1. Go to Admin > Monitoring and automation > Scripts.
2. Click Upload script.
The Upload script window appears.
3. Fill out the fields:
- Description: Enter a concise script description.
- Select file: Upload the script file from your PC ( *.bat, *.msi, *.exe, *.ps1, *.sh). For .*msi files, use the following argument only /qn [Displays no user interface]
- Category: Add a new category or select from the available ones.
- Max script run time: Enter the Max Script Run Time. This is the maximum amount of time a script is allowed to run (1 to 60 minutes).
- Arguments: Enter any arguments for the script.
-
Run as:
- Check System to run the script as a system administrator.
- Check Current user to run the script as a local user.
4. Click Upload.
The script is uploaded and will appear in the My scripts tab.
You can now run the script or schedule it via an IT automation profile