Advertisement
Guest User

Untitled

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