Sharepoint Server 2010 Language Pack Norwegian

Language pack for Sharepoint Server 2010 in Norwegian (and some other new languages) is now available.

Download here: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=046f16a9-4bce-4149-8679-223755560d54

Populate contacts list in Communicator with LCSAddContacts.WSF

Often, it can be a good idea to pre-populate Communicator (MOC) in an Office Communications Server 2007 R2 before end users start to use MOC. That way they’ll not be met with an “empty” contact list when they log on to MOC. For example, you might want to populate a user’s contact list with a group containing the members of the department the user belongs to. It’s rather easy to use LCSAddContacts.WSF to accomplish this, but I wanted to automate the process based on AD security groups, not only which OU the users/contacts belong to. I am doing all these commands from C:\Program Files\Microsoft Office Communications Server 2007 R2\ResKit\WMI Samples for simplicity.

  1. First, I need to list all the users in the AD Group containing the contacts, using the DN (Distinguished Name) of the group:
    dsget group “CN=SomeGroup,OU=SomeOuAlso,OU=SomeOU,DC=domain,DC=com” -members -expand > members.txt
  2. Then, I need to get the msRTCSIP-PrimaryUserAddress for these contacts:
    for /F “delims=” %x in (‘type members.txt’) do (dsquery * %x –l -attr msRTCSIP -PrimaryUserAddress >> contacts.txt)
    Now I have a list over the contacts that should be populated into the contact list in MOC. The delims= is necessary to read the full lines also if there are spaces. The -l attribute is needed to get only the attribute, not also the name of the attribute for each line. If contacts.txt exists, make sure it’s empty at the script does not overwrite the file, but only appends new lines.
  3. Now I need to get the users that should get these contacts:
    dsget group “CN=SomeOtherGroup,OU=SomeOtherOU,OU=SomeOU,DC=domain,DC=com” -members -expand > userlist.txt
  4. Then, I need to get the msRTCSIP-PrimaryUserAddress for these users:
    for /F “delims=” %x in (‘type userlist.txt’) do (dsquery * %x -l -attr msRTCSIP-PrimaryUserAddress >> users.txt)
  5. Let the magic happen:
    cscript LCSAddContacts.WSF /usersfile:users.txt /contactsfile:contacts.txt /contactsgroup:”My group”

This would be a lot easier if the users and/or the contacts could be picked from a OU (or even manually enter the sip adresseses to users.txt or contacts.txt), but in a real-world scenario you might want to create MOC Contact groups based on AD groups.

Result:

P.S. Existing groups with the same same will not be overwritten, nor will existing contacts in that group. Only new contacts will be added.

Restarting http.sys on Reporting Services server

I recently had to restart the http service on a server to get some configuation changes active without having to restart the server. This was a Windows Server 2008 R2 server with SQL 2008 and Reporting Services installed. This server has not IIS installed, but is using http.sys to deliver the web pages in Reporting Services.

Anyway, when restarting the http service with

net stop http

I got error message “The http service could not be stopped.”  Trying net stop http or net start http only gave error message “The service is starting or stopping. Please try again later.”

I couldn’t find any related process to kill, and was thinking I had to restart the server.

Solution

Just to try it, I stopped the SQL Server Reporting Services Service, and voilá! I could stop the http service.

Samsung S5620 Monte Review

I have written a review of Samsung S5620 Monte. This is a relatively cheap touch-screen phone reasonable equipped with features. A drawback is the proprietary Touch Wiz meny system though.

Read the full review (in Norwegian) at amobil.no here.

Review of Sony Ericsson Xperia X10 Mini

I have written a review of Sony Ericsson’s newest Android phone, the Xperia X10 Mini. Although only equipped with Android 1.6 and a small screen, this phone is a joy to use.

If you are looking for a small and stylish Android (or any type for that matter) phone, this is the one! And I bet your girlfriend will want one too.

Read the full review (in Norwegian) at Amobil.no here.

Samsung Omnia Lite Review

I have reviewed Samsung Omnia Lite. This is a cheap phone running Windows Mobile 6.5. Unfortunately WM 6.5 is not exactly cutting edge, and this phone is just another reminder that there is a reason for Microsoft’s launch of Windows Phone 7 long before it actually will be available.

In short, Omnia Lite can only be a choice for die-hard Windows Mobile-fans short of cash.

Read the full review (in Norwegian) at Amobil.no here.

Sharepoint Foundation aka WSS 4.0

For a couple of weeks Sharepoint Foundation, the successor of WSS 3.0 and the “free” version of Sharepoint, has been available for download.

You can download the final version here and try it out for yourself: http://www.microsoft.com/downloads/details.aspx?FamilyID=49c79a8a-4612-4e7d-a0b4-3bb429b46595&displaylang=en

Sony Ericsson Xperia X10 review

I have written a review of Sony Ericsson’s first Android-based mobile, Xperia X10. X10 has a huge screen, and fortunately Sony Ericsson has not managed to mess up the excellent Android menus significantly. All in all, X10 is a great phone except for the battery, which sometimes doesn’t even last a day.

Read the short review in VG here (Norwegian): http://www.vg.no/teknologi/artikkel.php?artid=10004561

Read the full review in Amobil here (Norwegian) : http://www.amobil.no/artikler/sony_ericsson_xperia_x10/76078

OCS 2007 R2 now supports Server 2008 R2

Previously, installing OCS 2007 R2 roles on a server with Windows Server 2008 R2 operating system was not supported. Microsoft has now announced that OCS 2007 R2 finally supports 2008 R2 OS.  It’s worth to note that the Group Chat Server role still does not support 2008 R2. Upgrading an existing installation to Server 2008 R2 is not supported either, so it looks like this support only applies to new OCS 2007 R2 installations.

More info here: http://support.microsoft.com/default.aspx/kb/982021?p=1

It’s also also worth to note that Server 2008 R2 domain also is supported. If you introduce 2008 R2 domain controllers to an existing domain, you’ll have to run forest prep again.

More info here: http://support.microsoft.com/kb/982020

Sharepoint filter with URL values

Did you know that you easily can filter your Sharepoint list or library with values in your URL? This means that you can create a “view” without really creating a view. To spice up your GUI you can for instance insert some graphical boxes above your document library view that filters with URL values. Last, but not least, you can use this method to filter the content of all web parts on a page, you are not limited to filter a view in a document library (after all, a view is just a web part on a .aspx page). You can filter on a built-in column, or a column you have created yourself.

Example:

Continue reading →