Windows PowerShell was developed by Microsoft for the purposes of task automation and configuration management. PowerShell is an open-source project, and it can be installed on Windows, Mac OS, and Linux platforms. It is based on the .NET framework, and it includes a command-line shell and a scripting language. It's more powerful than the Command Prompt, as it delivers more control over the Windows operating system. It can help you simplify and automate tedious and repetitive tasks by creating scripts and combining multiple commands. Atera enables you to remotely send PowerShell commands to your end users' devices.
The PowerShell feature now includes an innovative AI command generator, allowing you to focus on running commands instead of remembering them. See Copilot: command generator
To enable copy-paste functionality within the PowerShell module, you'll need to activate Clipboard within Website settings. Click on the Lock icon next to the URL and enable Clipboard.
Run PowerShell commands
If you haven't yet created, uploaded, or generated a PowerShell script, see Create, upload, and generate scripts. Otherwise, you can manually enter the command within the PowerShell terminal or generate one with AI Copilot.
Note:
- The target device must have PowerShell installed and be running version 5.1 or later. To install PowerShell, see this Microsoft article
- Disabling PowerShell on a device will deactivate both PowerShell functionality and PowerShell scripts within Atera.
To run commands via PowerShell:
1. From Devices (on the sidebar), click Manage > PowerShell on the device.
2. Choose Run as system or Run as user to execute the command with the desired permissions.
The PowerShell window appears.
3. Enter the command, or generate one with AI. Then press Enter on your keyboard.
The command is executed.