Vatland

List activesync device statistics

1 min readExchange

Some times it is usefull to get a list of when did devices last sync. get-mailbox | ForEach-Object { Get-ActiveSyncDeviceStatistics -Mailbox $_.Identity;}| Out-File -filepath c:\powershell\activesync.txt Or if you want to list spesific devi…

Read more →

Preparing for my next certification.

1 min readThoughts

I have been working with Lync since the early beta versions. Now I think it is time to test my skills and go for TS 70-664 Configuring Lync server. Here in Norway nearly all our customers are medium (->600 employees) so some functions built…

Read more →

Lync Phone and PIN lock policy

1 min readLync

We had problems with CX600 devices not working properly if we did not enforce device PIN locking. This seems to have been fixed in the latest firmware update. Atle…

Read more →

List used phone numbers in Lync

1 min readLync

This will list all used phone numbers in Lync. Except those used by Exchange UM (Auto Attendant ..) $LUser=Get-csuser -Filter {LineURI -ne $Null}$PLUser=Get-CsUser -Filter {PrivateLine -ne $Null}$LCommonarea=Get-cscommonareaphone -Filter {L…

Read more →

Move Lync database to new sql server.

1 min readLync

This is how I’ve done it. First in lab then in production. This is moving enterprise edition databases. For this to work you need one extra temporary sql server and one Lync server in a temporary Lync pool ,along with the new SQL production…

Read more →

SMTP unreliable links

1 min readExchange

Had a problem with large emails between exchange 2010 servers. Got the smtp error 421.4.4.2 . I solved this by increasing the MaxProtocolError and ConnectionTimeout on the receiving connector. Use the powershell set-receiveconnector . In th…

Read more →