a guest Feb 10th, 2014 139 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- . "F:\inetpub\wwwroot\website\tasks\Office365\connecto365.ps1"
- $userUPN = "firstname.lastname@example.org"
- $user = Get-MsolUser -UserPrincipalName $userUPN
- Write-Output $user.DisplayName
RAW Paste Data