Microsoft Partner Award and Worldwide Partner Conference

After preparing a 3,000 words thesis and presenting to various Microsoft people and judges over the last few months, my company finally receive the Microsoft partner award of the Year 2012. The solution my team proposed is all about Exchange Server 2010, SharePoint 2010, SQL Server 2012, and System Center 2012. It's been a long story when preparing and selling this solution, but anyway I will fly to Toronoto next week and please ping me if you are know anything cool because it is the first time for me to visit this city. :)

Posted by Colt | 1 comment(s)
Filed under:

Microsoft Server Products in Virtualized Environment

When designing solutions to different customers, a common question that I had heard is whether software X supported in virtualized environment? What about server product Y and Z supported as well? Below is a quick and good reference to answer this question rapidly: http://support.microsoft.com/kb/957006 :)
Posted by Colt | 1 comment(s)
Filed under:

Lync 2010 Mobile Clients

I used both Microsoft OCS 2007 and Lync 2010 at work and at Microsoft network. It's good to see that the official Lync 2010 clients for Windows phone is released: http://blogs.msdn.com/b/nandal/archive/2011/12/13/lync-2010-client-for-windows-phone-is-now-available.aspx

I'm not a Windows phone users (yet) so I still need to wait and keep using the third party Lync client on iOS now. Anyway, here are the information of the mobile client of Lync 2010 in English and Chinese:

Posted by Colt | 2 comment(s)
Filed under:

My 10th Consecutive Microsoft MVP Award

I'm delighted and proud to receive a parcel recently because I got my 10th MVP award token last week!

It's my 10th MVP award and I saw different kinds of trophies and souvenirs over the past 10 years, but the concept of "token" is really cool. Over the past 10 years, I contribute to both online and offline communities, write blog, author book, found local user group as well as helping in international association. It's a really cool experience and I'm delighted that I can be part of community. I am happy and enthusiastic about this MVP program, I am more than happy to keep contributing and be part of it in the next 10 years. :)

Posted by Colt | 2 comment(s)
Filed under:

The First SharePoint Conference in Hong Kong

The first time ever SharePoint conference is going to be happened this Friday (Hong Kong time). I just registered and the agenda looks great. There are couple of speakers fly in and deliver sessions ranging from Level 100 to Level 300. I joined the local SharePoint user group for some times and I'm looking forward to meet the SharePoint MVPs and friends very soon.

Regards,

Colt

Posted by Colt | 5 comment(s)
Filed under:

Copy Files between Host and Guest OS in Virtual PC 2007

I have a new machine with Virtual PC 2007 SP1 installed, but the Shared Folder option is unavailable unfortunately.

It is because Shared Folder is one of the features that come with Virtual Machine Additions, which can be found at:

  1. Go to the Guest OS
  2. Select "Install Virtual Machine Additions" on the "Action" menu OR Use Keyboard shortcut "Right-Alt + i"

Posted by Colt | 3 comment(s)
Filed under:

Download SharePoint 2010 Pre-Requisites by PowerShell

Recently I come into a situation that SharePoint 2010 need to be installed in a standalone server (no Internet connectivity), and luckily I found this PowerShell script, which downloads all SharePoint 2010 pre-requisites and allows me to copy it to the SharePoint server directly.

Posted by Colt | with no comments
Filed under:

Crawl Rules Tips in SharePoint 2010

Manage Crawl Rules in SharePoint 

SharePoint admin can include or exclude specific URL during the content crawling stage. The content in SharePoint will be crawled periodically so that that search index will be updated and users can view the latest search result quickly. Administrators can actually "modify" the search result by including or excluding more URLs such that specific content will be included or excluded respectively.

(* It sounds weird for me initially because it violates the concept of findability of public asset on a collaboration platform essentially. However, I do realize the business requirements and accept this truth after understanding the user requirements and business scenario from a real world customer).

To manage crawl rules in SharePoint 2010, you can follow:

SharePoint 2010 Central Administration > Application Mgmt > Service Apps > Manage Service App > Search Service App > Crawling > Crawl Rule

Regular Expression (RegEx) in Crawl Rule

Administrators can input a URL, a pattern or regex when managing crawl rule. I have a requirement to exclude all URLs with a suffix of "AllItems.aspx". However, it is possible that multiple places do have this page, e.g. DocLibA can have a page like "/DocLibA/Forms/AllItems.aspx" and DocLibB also have a page like "/DocLibB/Forms/AllItems.aspx".

In order to exclude a URL with this suffix, I need a pattern that replace DocLib and Forms. However, the DocLib can have multiple levels so the traditional pattern of astersk does not work because we have no clude about how many level do users create in the long run because: /*/AllItems.aspx is different from /*/*/AllItems.aspx

Therefore, the use of RegEx come up immediately and I need to use a wildcard like RegEx pattern with a specific suffix only. Therefore, I go look for some URL reference. However, I got another problem is that the RegEx pattern does NOT work in the same way as I wish because the forward slash "\" got distorted at all.

Original:

Distorted result: http://(/w+//forms//allitems.aspx)$

Finally, I have to use a pattern like this in order to exclude all allitems.aspx under whatever folder and whatever level:

Posted by Colt | 3 comment(s)
Filed under:

Obtain SharePoint 2010 Total Sizes by PowerSehll

I got a request to retrieve the usage and total size of SharePoint sites by a client and luckily I found this PowerShell scripts: http://get-spscripts.com/2010/08/check-size-of-sharepoint-2010-sites.html

In short, it retrieve and recursively loop all sub-sites and sum up the total sizes. I would like to repeat the scripts here for my own reference but please go to the link above for credit and comment.

function GetWebSizes ($StartWeb)
{
    $web = Get-SPWeb $StartWeb
    [long]$total = 0
    $total += GetWebSize -Web $web
    $total += GetSubWebSizes -Web $web
    $totalInMb = ($total/1024)/1024
    $totalInMb = "{0:N2}" -f $totalInMb
    $totalInGb = (($total/1024)/1024)/1024
    $totalInGb = "{0:N2}" -f $totalInGb
    write-host "Total size of all sites below" $StartWeb "is" $total "Bytes,"
    write-host "which is" $totalInMb "MB or" $totalInGb "GB"
    $web.Dispose()
}

function GetWebSize ($Web)
{
    [long]$subtotal = 0
    foreach ($folder in $Web.Folders)
    {
        $subtotal += GetFolderSize -Folder $folder
    }
    write-host "Site" $Web.Title "is" $subtotal "KB"
    return $subtotal
}

function GetSubWebSizes ($Web)
{
    [long]$subtotal = 0
    foreach ($subweb in $Web.GetSubwebsForCurrentUser())
    {
        [long]$webtotal = 0
        foreach ($folder in $subweb.Folders)
        {
            $webtotal += GetFolderSize -Folder $folder
        }
        write-host "Site" $subweb.Title "is" $webtotal "Bytes"
        $subtotal += $webtotal
        $subtotal += GetSubWebSizes -Web $subweb
    }
    return $subtotal
}

function GetFolderSize ($Folder)
{
    [long]$folderSize = 0 
    foreach ($file in $Folder.Files)
    {
        $folderSize += $file.Length;
    }
    foreach ($fd in $Folder.SubFolders)
    {
        $folderSize += GetFolderSize -Folder $fd
    }
    return $folderSize
}

Usage: GetWebSizes -StartWeb <http://URL:Port>

It works great but please bear in mind that the scripts only work for items stored in DocLib and Lists, where order document versions and recycled items do not counted.

Posted by Colt | 1 comment(s)
Filed under:

Crawl PDF Files in SharePoint 2010

  1. Go to Adobe PDF iFilter web page
  2. Download PDF iFilter for 64-bit Platform
  3. Extract and Install iFilter
  4. Run RegEdit and modify Filter (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\Filters)
  5. Run RegEdit and modify Extension (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension)
  6. Run "iisreset" in cmd to restart Server(s)
Posted by Colt | with no comments
Filed under:
More Posts Next page »