Utils/whoami.ps1

Register-GnuUtil @{
    Name        = 'whoami'
    Category    = 'User and system info'
    Synopsis    = 'Print effective user name.'
    Usage       = @('whoami [OPTION]...')
    Description = @('Print the user name associated with the current effective user ID.')
    Notes       = @('PowerShell note: prints [Environment]::UserName (no DOMAIN\ prefix, unlike whoami.exe).')
}