1. Home
  2. Knowledge Base
  3. SureMDM
  4. How To Execute Powershell Command On Windows Devices Using SureMDM Remote Screen
  1. Home
  2. Knowledge Base
  3. Windows Management
  4. How To Execute Powershell Command On Windows Devices Using SureMDM Remote Screen

How To Execute Powershell Command On Windows Devices Using SureMDM Remote Screen

For a long time now, the ability to access machines remotely has been key to ensuring seamless business operations. And today, we can hardly imagine life without this functionality. Depending on the operating system you are using, there are diverse ways to connect to a remote machine, but the two main protocols are:

  • Secure Shell (SSH) for Linux-based machines
  • Remote Desktop Protocol (RDP) for Windows-based machines

In this blog, you will learn the steps to:

  • Add support for remote PowerShell for Windows devices using SureMDM
  • Add support to access the remote PowerShell from the dynamic job
  • Add support to access the remote PowerShell from the Remote Support tab

Here’s a process that we have designed to support PowerShell remoting on Windows devices:

Accessing the remote PowerShell from the dynamic job

Step 1: Enroll a Windows device to the SureMDM console.

Step 2: Login to the SureMDM console.

Step 3: Select a Windows device from the device grid.

Step 4: A new dynamic job “PowerShell” is added as shown below:

Step 5: Click on “PowerShell”.

Step 6: This will open a new browser tab with PowerShell terminal as shown below:

The administrator should be able to send all the supported commands and run scripts from the PowerShell terminal. The output of the command should also be printed on the PowerShell terminal.

An option would be provided on the top right to enable navigation to the remote support page.

Step 7: Click on “Remote”.

Step 8: It should open the Remote Support page as shown below:

Accessing the remote PowerShell from the Remote Support tab

Please follow the following steps:

Step 1 : Enroll a Windows device to the SureMDM console.

Step 2 : Log in to the SureMDM console.

Step 3 : Select the Windows device from the device grid.

Step 4 : Click on the “Remote Support” dynamic job.Step 5 : The Remote Support page will open in a new browser tab.

Step 6: Click on the “PowerShell” tab.

Step 7: It should open the PowerShell terminal in the “PowerShell” tab as shown below:

Administrators should be able to send all the supported commands and scripts from the PowerShell terminal, and the output of the command should also be printed on the PowerShell terminal.

Step 9 : Click on the ‘Expand” option to maximize the “PowerShell” tab. This will expand the “PowerShell” window into full view as shown below:

If you have a question, feel free to write to us. We would be happy to address your queries.

Was this helpful?
YesNo
Updated on August 2022