Link to home
Start Free TrialLog in
Avatar of awgit
awgit

asked on

Powershell - Making a computer trusted for remoting

I have ran winrm quickconfig to set the WimRM service. I verified the service is started.

I am running this command Set-Item TrustedHosts *  

I get the following error:

Set-Item : Provider execution stopped because the provider does not support this operation.
At line:1 char:9
+ set-item <<<<  Trustedhosts
    + CategoryInfo          : NotImplemented: (:) [Set-Item], PSNotSupportedException
    + FullyQualifiedErrorId : NotSupported,Microsoft.PowerShell.Commands.SetItemCommand

I tried Set-Item TrustedHosts pcname    with no luck

Any ideas?.... doing some searching it seems to have worked for others.

I am using Powershell 2.0 and trying on Windows 7 SP1 32bit

Thank you
Avatar of Qlemo
Qlemo
Flag of Germany image

Did you run PS elevated?
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of awgit
awgit

ASKER

That worked!

Pro answer, thanks Qlemo