I have two machines in the lan and i'd like to manage services on both of them.
on powershellISE i pass the following command :
Get-Service -ComputerName host01.tata.toto.local -> OK
Get-Service -ComputerName host02.tata.toto.local -> KO , not enough privileges.
now both machines have the service WinRM running.
on the host02.tata.toto.local i also pass the commands : enable-PSRemoting. and Set-WSManQuickConfig
the second command should be opening the port and add exception to FW.
What can i check in order to compare ? both machines have lots of open ports.
How to know what's avoiding Powershell to pass the command ?
thank you in advance for your help.