Note to self! http://powershell.office.com/
Month: February 2016
Sync user Photo to O365 profile
##Connecting to O365 $credential = Get-Credential Connect-MsolService -Credential $credential ##Add Exchange Online PowerShell $exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid/?proxymethod=rps" -Credential $credential -Authentication "Basic" -AllowRedirection Import-PSSession $exchangeSession -DisableNameChecking ##Get all licensed users Get-MsolUser | Where-Object { $_.isLicensed -eq "True" } | Select DisplayName, MobilePhone, UserPrincipalName ##Set-UserPhoto Set-UserPhoto "UserDisplayName" -PictureData ([System.IO.File]::ReadAllBytes(“C:\Users\Jimmy Hang\Pictures\minion.jpg”)) -Confirm:$false https://support.microsoft.com/en-us/kb/3062745
Sign in as a different user
Note to self!! Sign in as a different user in SharePoint Server 2013 /_layouts/closeConnection.aspx?loginasanotheruser=true https://support.microsoft.com/en-us/kb/2752600 ########