0

I'm using Windows 8.1. and I'm trying to execute commands on another Windows 8.1. by using PowerShell (enter-pssession or invoke-command). I usually have two types of error messages : one telling me that the access is denied and another one telling me that my Firewall does not allow an HTTPS exception. None of the computers is a server. I have already tried executing Set-PSSessionConfiguration -ShowSecurityDescriptorUI -Name Microsoft.PowerShell without any result whatsoever.

I have already tried de-activating my firewall and have already added other computers to my list of trusted hosts.

I always put an IP address after enter-pssession. Could this be the source of the problem?

Thanks in advance :)

P.S. Both computers have winrm, IIS and Apache.

tkotsoh
  • 1
  • 1

1 Answers1

0

All you need to get started with remoting is available in the help:

 PS> Get-Help about_Remote_TroubleShooting -ShowWindow

If you're not in a domain, take a look at this section:

HOW TO CONNECT REMOTELY FROM A WORKGROUP-BASED COMPUTER
-------------------------------------------------------
[..]

When the local computer is not in a domain, the following procedure is required
for remoting.

1. Configure the computer for HTTPS transport or add the names of the
   remote computers to the TrustedHosts list on the local computer.
[..]
evilSnobu
  • 24,582
  • 8
  • 41
  • 71
  • I have already tried de-activating my firewall and have already added other computers to my list of trusted hosts. – tkotsoh Oct 23 '14 at 15:54