WinRM AKA Powershell Remoting
Powershell Remoting
Permissions: Administrator OR user in Remote Management Users group
Requirements: WinRM (port 5985/5986) open
Use case: You want modern, interactive access to a remote system (preferred for clean environments). Use it with valid credentials.
Ways to use:
Create a session
If you have sessions stored as variables then commands with the -Computername parameter can be replaced with -Session $session.
Run commands on target
Run commands on multiple systems
Disable Defenses
Wmic
Winrs
Get a remote shell using Docker
Get a remote shell using Ruby Script
Last updated