2/28/2020
•
EN
It's Likely We're Living in a PSSession
Explains how to detect if PowerShell code is running in a remote session and extract connection details using the $PSSenderInfo automatic variable.