WinRM to accept PSSession from Particular Source

Anonymous
2024-12-02T12:17:27+00:00

Hi,

I have a set of Computer A-E; now I can establish PSSession from any computer to Any Computer. Need to restrict PSsession being established from Any Computer to Particular Computer, i.e E. if I try to create PSSession to Computer A from Computer B, it should fail,

Windows Server Remote and virtual desktops PowerShell

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-12-03T04:45:55+00:00

    Hi,

    You can restrict the WinRM source IP in Windows Firewall. Open the properties of the Windows Remote Management rule in inbound rules, switch to the remote computers tab and add the addresses to authorized computers.

    0 comments No comments