How to run PowerShell commands on a remote Windows 10 system – Easy Steps

sistema remoto de Windows 10

How to run PowerShell commands on a remote Windows 10 system

Windows 10 has remote access tools. These tools are built into the operating system, and you can also install third-party remote access tools. Remote access is a useful feature, but it can also be a security risk if you don’t care about how and when it is enabled, or who you are giving remote access to. For this reason, most remote access tools are locked behind layers of access that must be granted before the tool can work on your system. PowerShell is no exception.

Run PowerShell Commands on a Remote Windows 10 System

You can run PowerShell commands on a remote Windows 10 system, but the target system must allow these commands to be run remotely.

Read This Now:   How to fix Minecraft LAN games not showing up - Easy Steps

Enable PowerShell Commands on the Remote System

To enable remote PowerShell command execution on a system, follow these steps.

  1. On the target system, open PowerShell with administrator rights.
  2. Run this command: Enable-PSRemoting -Force
  3. After the command has been run, you can access it remotely and run PowerShell commands.

If the target computer is part of a workgroup but not connected to an Active Directory, you will need to enable PowerShell commands on the system by following these steps.

  1. On the target system, open PowerShell with administrator rights.
  2. Run this command: Set-NetFirewallRule -Name 'WINRM-HTTP-In-TCP' -RemoteAddress Any
  3. Once the command is run, you will be able to access the system remotely and run PowerShell commands on it.

These commands are basic when it comes to enabling PowerShell commands on a remote system, but it will run other commands as well. On the one hand, when you connect to a remote system, you will have to authenticate with the username and password of the system. In addition, you will also need to whitelist the computer from which you are going to remotely access the system. It is by no means a simple process, but it begins by enabling command execution on the remote system.

Read This Now:   How to Change Currency Within Windows 10? - Quick Settings

conclusion

Remote access is tricky when done through command lines. If you are having difficulty setting up remote access, consider using a third-party tool like TeamViewer, which is much easier to use but still secure. If you have no choice but to use PowerShell, you should take the time to learn how to start a connection and the parameters that you can define for it. Do this before you have to remotely access the system. A little knowledge and information about how remote access works will help you troubleshoot as they arise.


Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/gamefeve/bitcoinminershashrate.com/wp-includes/functions.php on line 5420

Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/gamefeve/bitcoinminershashrate.com/wp-includes/functions.php on line 5420