Forum Discussion
Ivan Seriavin
Jan 12, 2018Copper Contributor
Access to PS Remoting Client info in the constrained endpoint
Is there a way to query out PS Remoting Client details (like hostname, IP address, etc.) via the script\advanced function that's exposed through the constrained endpoint?
The scenario is that a new...
VasilMichev
Jan 12, 2018MVP
Well, depends on what you have configured for the endpoint. You might want to add some specific cmdlets to the session config file, such as Get-ComputerInfo. Or expose the env: PsDrive, etc.
For scenarios like this, it's best to use something like certificate auth. IP, hostname, machine name - all can easily be changed/spoofed.