File Get Last Edited By User's Email using Powershell

Hi Gurus

I have powershell script to be invoked to get email of the user “Get-ADUser” and filter will be the userid .

“Get-ADUser $Uname|Select-Object -Property UserPrincipalName”

Output from InvokePowershell is of type Collection

How to get the value from powershell custom object “Output”

Invoke Power Shell Properties as below

Figured it out