Offline
Windows 10 has remote access tools. These tools come built-in to the OS 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 do not take care how and when it’s enabled, or who you give 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.
is no exception.
If the target computer is part of a workgroup but it is not connected to an Active Directory, you will need to enable PowerShell commands on the system by following these steps.
Run PowerShell commands on 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 remote system
To enable remote PowerShell commands to be run on a system, follow these steps.- On the target system, open
- Run this command: Enable-PSRemoting -Force
- Once the command has been run, you will be able to access it remotely, and run PowerShell commands.
If the target computer is part of a workgroup but it is not connected to an Active Directory, you will need to enable PowerShell commands on the system by following these steps.
- On the target system, open PowerShell with admin rights.
- Run this command: Set-NetFirewallRule -Name 'WINRM-HTTP-In-TCP' -RemoteAddress Any
- Once the command is run, you will be able to access the system remotely and run PowerShell commands on it.