Hello @Rajat Singhal !
As i can see you dont need RSAT on the Remote machine you are using to control the Server
But you nee to verify that the Server is configured to accept WinRM connections.
- Run PowerShell as an Administrator.
- Enable PowerShell Remoting using
Enable-PSRemoting -Force
. - Configure the WinRM service to start automatically using
Set-Service WinRM -StartMode Automatic
. - Allow the server to accept connections from any IP address using
Set-Item WSMan:\localhost\Client\TrustedHosts *
.
Just replace *
in the last command with the specific IP addresses you want to allow if you don't want to accept connections from any IP address !
I hope this helps!
Kindly mark the answer as Accepted and Upvote in case it helped!
Regards