Manage a Windows server over WinRM — enable remoting, work in a session, then fan out a single command. No RDP.
You need to run a couple of quick checks on ops-srv-12 (management IP 10.30.4.20) — but you don’t want to tie up a graphical RDP session just to read a service state and an IP config.
Enable remoting on the target, drop into an interactive session, verify a service, then pull the server’s IP configuration with a single non-interactive call and disconnect. Bad cmdlets and bad parameters return real error text — read it, that’s the point.
Enable-PSRemotingEnter-PSSession -ComputerName ops-srv-12Get-ServiceInvoke-Command -ComputerName ops-srv-12 -ScriptBlock { ipconfig }Exit-PSSessionInvoke-Command instead of Enter-PSSession?