Skip to content

sassdawe/AzWhoAmI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AzWhoAmI

WhoAmI for Azure Cloud Shell

Why?

I had the need to know the current user in Azure Cloud Shell without hardcoding the UPN for my scripts.

Sadly the Cloud Shell had very little information about the user, so this module was born brining us the Get-AzWhoAmI cmdlet and its alias whoami.

Installation

Just use install from the PowerShell Gallary as usual:

Install-Module -Name azwhoami

And you can start using it right away

image

Does this helping you in any ways share or form?

Consider sponsoring me ->