PowerShell – Execute Scriptblock as Current User
Here’s a script I’ve put together that will retrieve the current user sessions from a remote host using psexec.exe. Then, it executes a scriptblock using the current user session context. Simple, but very powerful. I would suggest not running this in an enterprise environment if you would like to stay in your security team’s good … Continue reading PowerShell – Execute Scriptblock as Current User
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed