Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- . "F:\inetpub\wwwroot\website\tasks\Office365\connecto365.ps1"
- $userUPN = "username@domain.com"
- $user = Get-MsolUser -UserPrincipalName $userUPN
- Write-Output $user.DisplayName
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement