Product: PowerShell Universal Version: 4.2.14
Is there a way to capture the username or email address of the user logged into a user interface app? we have authentication set up with SAML through Azure and I’m hoping to capture a user’s email address to be used in a script
Recommended Answer
$User should get you what you need. Here’s a link to built-in variables: Variables | PowerShell Universal
$User should get you what you need. Here’s a link to built-in variables: Variables | PowerShell Universal
that’s exactly what I needed, thank you so much!