Enable PowerShell Remoting

Configure WinRM so a machine can be managed remotely with PowerShell.

WindowsnetworksystemadminpowershellLow risk
Run Enable-PSRemoting -Force in an elevated PowerShell session.

01Command

Command
$ Enable-PSRemoting -Force

02What it does

The cmdlet starts the WinRM service, creates the listener and firewall rule and registers the endpoints needed for Invoke-Command. Doing this in bulk across a fleet from one script is exactly what the terminal enables; clicking through System settings on each host does not scale.

03Risk

RiskLow risk
RequirementsRun PowerShell as Administrator
!Warning: Remoting widens the attack surface; restrict allowed networks and require HTTPS or Kerberos for untrusted links.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • Enable-PSRemoting
    Microsoft Learn · vendor-doc · 2026-09-20
    Evidence: Configures the machine to receive PowerShell remoting commands.

Last verified: 2026-10-13 · Category: System & Settings

06Related solutions