Displaying different data based on user

Is there a way to check who the logged in user is when they are viewing a dashboard?

I have a dashboard created for our managers that provides insight into their teams, and I’d like to dynamically read who the user it and automatically display their team data.

Product: PowerShell Universal
Version: 1.4.6

The $User variable will contain the username of the logged in user
Variables - PowerShell Universal