{"id":5183,"date":"2024-10-07T15:12:22","date_gmt":"2024-10-07T22:12:22","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=5183"},"modified":"2024-10-07T15:12:24","modified_gmt":"2024-10-07T22:12:24","slug":"how-to-deploy-an-application-by-creating-an-atera-script","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=5183","title":{"rendered":"How to Deploy an Application by Creating an Atera Script"},"content":{"rendered":"\n<p><strong>Note:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When creating scripts, you can copy\/paste from your preferred text\/script\/HTML editor.<\/li>\n\n\n\n<li>When incorporating variables, employ&nbsp;<strong>{[variable_name]}<\/strong>&nbsp;without any spaces or special characters (!@#$%^&amp;*).<\/li>\n\n\n\n<li>The create script option allows the generation of&nbsp;<strong>Batch (.bat)<\/strong>,&nbsp;<strong>PowerShell (ps1)<\/strong>, or&nbsp;<strong>Shell (.sh)<\/strong>&nbsp;scripts. You can also&nbsp;<a href=\"https:\/\/support.atera.com\/hc\/en-us\/articles\/235215188-Create-upload-and-generate-scripts#01HMXEXFN1S3BP86HZQ3H1Z7P2\" target=\"_blank\" rel=\"noreferrer noopener\">upload<\/a>&nbsp;<strong>Executable file (.exe)<\/strong>&nbsp;and&nbsp;<strong>Microsoft Installer (.msi)<\/strong>&nbsp;files to Atera.<\/li>\n\n\n\n<li>In the&nbsp;<strong>Pro&nbsp;<\/strong>subscription plan for Atera, there is a&nbsp;<strong>20MB<\/strong>&nbsp;limit for uploading .msi and .exe files. For users on higher subscription tiers, the upload limit is increased to&nbsp;<strong>1GB<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p><strong>To create a script:<\/strong><\/p>\n\n\n\n<p>1. Go to&nbsp;<strong>Admin<\/strong>&nbsp;&gt;&nbsp;<strong>Monitoring and automation<\/strong>&nbsp;&gt;&nbsp;<strong>Scripts<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/support.atera.com\/hc\/article_attachments\/12329688530076\" alt=\"Admin &gt; Monitoring and automation &gt; Scripts &gt; Create script - MSP - EN.jpg\"\/><\/figure>\n\n\n\n<p>2. Click&nbsp;<strong>Create script<\/strong>.<\/p>\n\n\n\n<p>The&nbsp;<em>Create script<\/em>&nbsp;page appears.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/support.atera.com\/hc\/article_attachments\/15962163620252\" alt=\"Create script page - EN.jpg\"\/><\/figure>\n\n\n\n<p>4. Fill in the mandatory fields:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Script name:<\/strong>&nbsp;Enter the name of the script<\/li>\n\n\n\n<li><strong>Script Description:<\/strong>&nbsp;Enter the description&nbsp;<\/li>\n\n\n\n<li><strong>File Type:<\/strong>&nbsp;Choose either&nbsp;<strong>Batch (.bat)<\/strong>.,&nbsp;<strong>PowerShell (ps1)<\/strong>, or&nbsp;<strong>Shell (.sh)<\/strong>&nbsp;file type.<\/li>\n<\/ul>\n\n\n\n<p>5. Click&nbsp;<strong>More script properties&nbsp;<\/strong>to fill in other fields (optional).<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Category:<\/strong>&nbsp;Enter the category (or select one from the dropdown list).<\/li>\n\n\n\n<li><strong>Max script run time (minutes):<\/strong>&nbsp;Specify the maximum script run time (can be from 1 &#8211; 60 minutes).<\/li>\n\n\n\n<li><strong>Arguments:<\/strong>&nbsp;Enter any arguments for the script.<\/li>\n\n\n\n<li><strong>Run as:<\/strong>&nbsp;To run the script as a system administrator, tick&nbsp;<strong>System<\/strong>. To run the script as a current (local) user, tick&nbsp;<strong>Current user<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>6. Enter the script in the script editor. Then click&nbsp;<strong>Create<\/strong>.<\/p>\n\n\n\n<p>The script is created and will appear in the&nbsp;<em>My scripts<\/em>&nbsp;tab.<\/p>\n\n\n\n<p><a href=\"https:\/\/support.atera.com\/hc\/en-us\/articles\/235215188-Create-upload-and-generate-scripts\">Create, upload, and generate scripts \u2013 Atera Support<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Note: To create a script: 1. Go to&nbsp;Admin&nbsp;&gt;&nbsp;Monitoring and automation&nbsp;&gt;&nbsp;Scripts. 2. Click&nbsp;Create script. The&nbsp;Create script&nbsp;page appears. 4. Fill in the mandatory fields: 5. Click&nbsp;More script properties&nbsp;to fill in other fields (optional). 6. Enter the script in the script editor. Then click&nbsp;Create. The script is created and will appear in the&nbsp;My scripts&nbsp;tab. Create, upload, and generate <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=5183\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1728,9,11],"tags":[1821,1820],"class_list":["post-5183","post","type-post","status-publish","format-standard","hentry","category-atera","category-networks","category-website","tag-deploy-an-application-atera-script","tag-deploy-an-application-by-creating-an-atera-script"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/5183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5183"}],"version-history":[{"count":1,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/5183\/revisions"}],"predecessor-version":[{"id":5184,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/5183\/revisions\/5184"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}