Introduction
Starting from build C22.06, the new Cyber Scripting functionality available in the Acronis Cyber Protect.
As part of this functionality, we provide the scripting library with 42 predefined scripts.
In the table below, you can find the detailed information about the out-of-the-box scripts: what each particular script is doing, on which Operating Systems can be used, on what language is written.
# |
Name |
Description |
Language |
OS |
Tags |
---|---|---|---|---|---|
1 | Shut down | Shuts down the system after the specified delay. If no arguments are specified, shuts down the system immediately. | Bash | macOS | Machine Management |
2 | Force restart by uptime | Forcefully restarts the system if system uptime is more than specified. If no arguments are specified, restarts if uptime is more than a week. | Bash | macOS | Maintenance |
3 | Restart | Restarts the system after the specified delay. If no arguments are specified, restarts the system immediately. | Bash | macOS | Machine Management |
4 | Delete temporary files | Deletes the temporary files from the system and the current user folders. | Bash | macOS | Maintenance |
5 | Log off the current user | Forcefully logs the current user off. | Bash | macOS | User Management |
6 | Get system information | Reports the system hardware and software configuration. By default, returns a report with no personal information. | Bash | macOS | Monitoring |
7 | Clear log | Deletes selected log data from the system. If no arguments are specified, the main log datastore and inflight log data will be deleted. | Bash | macOS | Maintenance |
8 | Disable firewall | Disables Application Layer Firewall. | Bash | macOS | Security Management |
9 | Enable firewall | Enables Application Layer Firewall. | Bash | macOS | Security Management |
10 | Run command | Runs a command with arguments. | Bash | macOS | Software Management |
11 | Clear DNS cache | Clears DNS cache. | Bash | macOS | Maintenance |
12 | Empty the Trash | Deletes the files from the Trash for all users. | Bash | macOS | Maintenance |
13 | Install Chrome extension | Installs a Chrome extension by the extension ID. | PowerShell | Windows | Machine Deployment |
14 | Restart | Restarts the system. | PowerShell | Windows | Machine Management |
15 | Disable Fast Startup | Disables the Fast Startup feature. | PowerShell | Windows | Management |
16 | Enable Wake-on-LAN | Enables the Wake-on-LAN feature. | PowerShell | Windows | Machine Deployment |
17 | Force restart by uptime | Forcefully restarts the system if system uptime is more than specified threshold. If no arguments specified, restarts if uptime is more than a week. | PowerShell | Windows | Maintenance |
18 | Delete temporary files | Deletes all files in the specified temporary folder. If no arguments are specified, deletes the files in the folder specified in the "TEMP" environment variable. | PowerShell | Windows | Maintenance |
19 | Run Disk Cleanup | Runs Disk Cleanup utility . If no arguments are specified, Disk Cleanup will remove all types of junk files on the C drive without user input. | PowerShell | Windows | Maintenance |
20 |
Uninstall or find application |
Uninstalls the specified application or looks up the full application name by its partial name. |
PowerShell | Windows | Software Management |
21 | Log off the current user | Logs the current user off. | PowerShell | Windows | User Management |
22 | Configure firewall | Sets up recommended configuration for the specified profile of Windows Defender Firewall. | PowerShell | Windows | Security Management |
23 | Get system information | Displays the detailed information about the hardware and operating system. | PowerShell | Windows | Monitoring |
24 | Empty recycle bin | Deletes the files from recycle bin on the specified drive. If no arguments are specified, deletes the files from recycle bin on the C drive. | PowerShell | Windows | Maintenance |
25 | Run Drive Optimizer | Runs Drive Optimizer. If no arguments are specified, Drive Optimizer will perform a traditional defragmentation of the C drive. | PowerShell | Windows | Maintenance |
26 | Enable firewall | Enables Windows Defender Firewall for the specified profile. If no arguments are specified, enables the firewall for all profiles. | PowerShell | Windows | Security Management |
27 | Force restart | Forcefully restarts the system in 5 seconds. | PowerShell | Windows | Machine Management |
28 | Run System File Checker | Runs the "sfc /scannow" command that finds and fixes errors in Windows system files and returns the result of operation. | PowerShell | Windows | Operations |
29 | Disable Cortana | Disables Cortana. | PowerShell | Windows | Machine Management |
30 | Wake up the machine | Wakes up the remote machine by sending a Wake-on-LAN packet. | PowerShell | Windows | Machine Management |
31 | Disable firewall | Disables Windows Defender Firewall for the specified profile. If no arguments are specified, disables the firewall for all profiles. | PowerShell | Windows | Security Management |
32 | Run chkdsk | Runs the chkdsk utility that finds and fixes the file system errors. If no arguments are specified, fixes errors on the C drive. | PowerShell | Windows | Operations |
33 | Hide non-critical notifications | Hides non-critical Windows notifications. | PowerShell | Windows | Machine Deployment |
34 | Shut down | Shuts down the system after the specified delay. If no arguments specified, shuts down the system in 30 seconds. | PowerShell | Windows | Machine Management |
35 | Run application | Runs an application with specified arguments. | PowerShell | Windows | Software Management |
36 | Clear DNS cache | Clears DNS cache. | PowerShell | Windows | Maintenance |
37 | Clear event logs | Clears event logs by log name. | PowerShell | Windows | Maintenance |
38 | Install and activate Office 365 | Installs and activates Office 365. | PowerShell | Windows | Software management |
39 | Install and activate Office 365 | Installs and activates Office 365. | Bash | macOS | Software Management |
40 | Uninstall application | Uninstalls the specified application. | Bash | macOS | Software Management |
41 | Wake up machines | Wakes up remote machines by sending Wake-on-LAN packets. | Bash | macOS | Machine Management |
42 | Force restart | Forcefully restarts the system after the specified delay. If no arguments are specified, restarts the system immediately. | Bash | macOS | Machine Management |