Forum Discussion

StefanKi's avatar
StefanKi
Iron Contributor
Jan 14, 2018

Powershell get 2 letter ISO code for country

Hallo,   when I use this powershell code $User = Get-AzureADUser -Filter "userPrincipalName eq 'Mail'" $User.country   I get as Output "GERMAY". How I have to change the code to get "DE"...

Resources