Categories: How to

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

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.

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.

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.

Miners Hashrate

Recent Posts

Mining RTX 3070 at NiceHash: Overclocking, tuning, profitability, consumption

Mining on RTX 3070. Overclocking, tuning, profitability, consumption: If you are interested in finding more…

6 months ago

Mining GTX 1660, 1660 Ti, 1660 Super: Overclocking, settings, consumption

Mining with GTX 1660, 1660 Ti, 1660 Super. Overclocking, settings, consumption, profitability, comparisons - If…

6 months ago

Mining RTX 2070 and 2070 Super: Overclocking, profitability, consumption

Mining with RTX 2070 and 2070 Super. Overclocking, profitability, consumption, comparison What the RTX 2070…

6 months ago

Mining with RTX 3060, 3060 Ti. Limitations, overclocking, settings, consumption

Mining with RTX 3060, 3060 Ti. Limitations, overclocking, settings, consumption, profitability, comparison Let's look at…

6 months ago

Alphacool Eisblock Aurora Acryl GPX-A Sapphire – test: 2.8 GHz++ are not an issue

Alphacool Eisblock Aurora Acryl GPX-A (2022) with Sapphire Radeon RX 6950 XT Nitro+ Pure in…

6 months ago

Corporate Crypto Strategies 4.0: Leading with Bitcoin Expertise

In the ever-evolving landscape of business strategy, Bitcoin has emerged as a pivotal asset. With…

6 months ago

This website uses cookies.


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