Lync Online – Add company name to lync contact card

To add Company name to lync contact card, run this in powershell

$User = "xxxxxxxxx"
$PWord = Read-Host 'What is your password?' -AsSecureString
$cred = New-Object –TypeName System.Management.Automation.PSCredential  –ArgumentList $User, $PWord
$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic -AllowRedirection
$importresults = Import-PSSession $s

get-user | Set-User -Company "COMPANYNAME"

get-user | ft name, Company

VN:F [1.9.22_1171]
Rating: 0.0/6 (0 votes cast)