Vatland

June 2012

Enable directbooking in Outlook 2010

1 min readUncategorized

Direct booking is disabled by default in Outlook 2010. To enable set this registry value : Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Options\Calendar] “EnableDirectBooking”=dword:00000001…

Read more →

Lync CallerID black list / block list

1 min readLync

After some time using Bing I have manged to do this. Thanks to : http://ucken.blogspot.no/2012/02/re-routing-incoming-calls-to.html I wanted the caller that is blocked to get a announcment. Step 1. Install Microsot Lync Server 2010/2013 SDK…

Read more →

Script to delete files older thans x days

1 min readCategories

This script will delete files older than 10 days. $Now = Get-Date$LastWrite = $Now.AddDays(-10)$Files = get-childitem -Path “C:\folder_with_files_to_delete” |Where {$_.CreationTime -le $LastWrite} foreach ($File in $Files){Remove-Item -Path…

Read more →

Import Phone Updates into Lync server.

1 min readLync

When you have downloaded and extracted the phone update this is the command to import it into Lync server: Import-CsDeviceUpdate -Identity “service:WebServer:lyncpool.test.local” -FileName C:\temp\ucupdates.cab Step 2 is to either add test …

Read more →