MEA Center of Expertise

We are a 120+ technology enthusiasts helping Microsoft customers around Middle-East & Africa region. We bridge Microsoft tools & technologies to their businesses.

May, 2011

  • PowerShell Command to create computer account in Active Directory

    This just simple command to create new AD computer in active directory

    New-ADComputer -Name voltacomputer -SAMAccountName voltasama -Description testcomputer -DNSHostName voltacomputer.coex.com
  • Lync with Polycom RMX Integration

    This Blog describes the integration between Microsoft Lync and Polycom RMX 2000

    Create the Polycom RMX pools

    Using the configuration in in the below figure, The application Pool video.sipdomain.com can be used as the Match URI for dialing.

    The two "Device" RMX SIP signaling (FQDN) domains are rmx.corp.local and rmx2.corp.local are used as destination routes.

     

    Add the Polycom RMX FQDN (SIP signaling IP address) in DNS

    To register with Lync Server 2010, the POLYCOM RMX SIP signaling domain must be accessible via a DNS server for Lync Server 2010.

    The POLYCOM RMX system and the Lync Server both need to resolve the POLYCOM RMX host record identically, regardless of the domain selected to store the DNS Host record.

     

    Set the Routing for the Polycom RMX System

    Use Lync Powershell to set the Polycom RMX system as a trusted host with a static route

    1    Navigate to Start > All Programs > Microsoft Lync Server 2010 > Lync Server Management Shell to open the Lync Powershell terminal.

    2    Use the  New-CsStaticRoute  command to set up a static route for the RMX system.

    $route = New-CsStaticRoute -TLSRoute -destination " rmx.sipdomain.com " -port 5061 -matchuri " video.sipdomain.com " -usedefaultcertificate $true

    where rmx.sipdomain.com  is the FQDN of the RMX SIP signaling domain and video.sipdomain.com  is the name of the Trusted Application Pool you created.

    3    Set the routing configuration. By configuring the static route, matched URI dialing is enabled.

    The following example sets the route to be global:

    Set-CsStaticRoutingConfiguration -identity global -route @{Add=$route}

    4    Optional. To check that the commands were entered correctly in the Powershell, enter:

    Get-CsStaticRoutingConfiguration

      

    Use Lync Powershell to create the trusted application

    1    Navigate to Start > All Programs > Microsoft Lync Server 2010> Lync Server Management Shell to open the Lync Powershell terminal.

    2    Use the  New-CsTrustedApplication  command to set up a trusted application for the RMX system.

    New-CsTrustedApplication -applicationId VideoProxy -TrustedApplicationPoolFqdn video.sipdomain.com -port 5061

     

     Use Lync Powershell to update the topology

    1    Navigate to Start > All Programs > Microsoft Lync Server 2010> Lync Server Management Shell to open the Lync Powershell terminal.

    2    Use the  Enable-CsTopology  command to update the Lync topology.

    Enable-CsTopology

     

    The Polycom RMX system is now set as a trusted host, and calls from an Lync client to a SIP address in the Polycom RMX system’s domain will be routed through that system.

     

    Create a Security Certificate for the Polycom RMX

    You must install a security certificate on the POLYCOM RMX system so that Lync Server trusts it. This can be accomplished in two ways:

    •Purchase and install a certificate from a commercial Trusted Root Certificate Authority (CA) such as VeriSign or Thawte. Use the procedures in the   POLYCOM RMX system’s documentation for Certificate Management to create a Certificate Signing Request and to install the certificate(s) received from the CA.

    •Request and obtain a certificate from your enterprise CA. You can do this in two ways:

    —If certificate requests must be submitted through the enterprise’s CA team or group, use the procedures in the   POLYCOM RMX system’s help for Certificate Management to create a Certificate Signing Request and to install the certificate(s) received from the CA team or group.

    To request a security certificate for the POLYCOM RMX system using IIS Manager 7

    1. On the Lync Server, select Start > All Programs > Administrative Tools > Internet Information Services (IIS) Manager (7.0) to open IIS 7.
    2. Under Connections, double-click the server name.
    3. In the Features View, double-click Server Certificates under IIS.
    4. In the Actions pane (far right), select the Create Domain Certificate action. (The Create Certificate wizard displays.)
    5. In the Distinguished Name Properties panel, complete all fields. Do not leave any fields blank.

                    In the Common Name field, enter the FQDN of POLYCOM RMX SIP signaling interface.

                    —Do not leave any fields blank.

          6.    Click Next.

          7.    In the Online Certification Authority panel, select a Certificate Authority from the list and enter a friendly name.

          8.     Click Finish.

    Your certificate is created.

    To use the Microsoft Management Console to export the created certificate

    1. Open Microsoft Management Console and add the Certificates snap-in, if it has not been added already.
      1. Choose File > Add/Remove Snap-in.
      2. Select Certificates from the Available Snap-ins area and click Add.
      3. On the Certificates snap-in page, select Computer Account and click Next.
      4. On the Select Computer page, select Manage Local Computer.
      5. Click Finish.
    2. Click OK.
    3. Browse to Certificates (Local Computer) > Personal > Certificates.

     

           4.  Right-click the created certificate and select All Tasks > Export… to view the Certificate Export wizard.

           5.   In the Certificate Export wizard, do the following:

    • In the Export Private Key panel, select Yes, export the private key.
    • Click Next.
    • In the Export File Format panel, select Include all certificates in the certification path if possible.
    • Click Next.
    • In the Password panel, enter a simple password, e.g., password.
    • Click Next.

     

             6.  In the File to Export panel, enter a path where you want to save the new file, e.g., c:\temp\pbxcert.pfx.

     

    Import the certificate

    Create a flat text file and enter the password you chose for the certificate

    Once the *.pfx file is on your PC, you can upload it to the Polycom RMX system and install it, you need to Upload the certificate and the password text file at the same time.

     

    Creating Lync Entries for Polycom RMX

    1-      Create New Contact Object on AD Server ”DC.sipdomain.com”

    Make sure that the Display Name matches what you’d like your users to see in the lync 2010 client.

    2-      Locate your contact object; Open its properties and Select Attribute Editor.

    3-      Set the msRTCSIP-PrimaryUserAddress to sip:<MeetingRoomID>@<RMXRoutingAddress>. For example: sip:1000@video.sipdomain.com

    4-      Synchronize the Lync Address book with AD by running the command “Update-CsAddressBook –Verbose” using lync Management shell on lync server “se.sipdomain.com”

    5-      Once the address book has synchronized & your client has downloaded the updated address book file, you will be able to find the room by name in Lync 2010 Client.

     

     

    Note:

    • You can force the Address book download by deleting the cached one “\Users\%ALIAS%\AppData\Local\Microsoft\Communicator”
    • Since the RMX is not registering to Lync the presence will show as unknown.

     

  • Opalis Integration Pack for PowerShell

    It’s my pleasure to announce that Charles Joy has created and published a new Opalis Integration Pack for PowerShell.

    You can read Charles full blog post about the IP here.

    This Integration Pack adds the following objects to Opalis Integration Server instead of the workaround of using "Run .Net Script" object:

    • Execute PS Script
    • Execute PS Script – Global

     

  • Sharepoint & IBM Domino

    the introduction of Microsoft Office SharePoint Server into organizations that have traditionally used IBM Lotus Notes and IBM Lotus Domino is increasingly common.

    So the normal question from the technical team is “From where we can start to integrate with SP or  migrate to SP"

    I came here with some initial guidance to help Technical people to Migrate/Integrate SharePoint with IBM Domino

    1-      Lotus Domino Server has a different types of Databases , the Following are the different types of databases on the Domino server:

    • Domino Directory: Maintains Server configuration, user accounts and messaging information. Domino server cannot run without it. In Microsoft world, these features are spread across the Active Directory, Microsoft Exchange and Microsoft SharePoint servers
    • System Databases: a set of supporting databases needed to support server and administrative functions               
    • Mailboxes: user mailboxes and mail-in databases. In Microsoft world, mailboxes are on the Exchange server and mail-in databases are equivalent to the mail enabled Libraries in SharePoint
    • Application Databases: business applications like document library, discussion forum, employee self-service or workflow applications. List/Library and Sites would be the equivalent in SharePoint world
    • Notes Templates: any Lotus Notes database can be saved as a template and then another clone of the application can be created using the template. Lot of Template database ship out of the box in the product. List template and Site template would be the equivalent in SharePoint

    When migrating messaging infrastructure, you would concentrate on the Domino Directory and Mailboxes on Lotus Domino server. For migrating the application infrastructure, you would concentrate on the Application Databases running on the Lotus Domino server.
    And each type of the above DBs has different ways of integration and migration to SP. 

    2-      Integration ways and protocols:

    • Support for Open Protocols (SharePoint Server and Notes or Domino support a number of open protocols ( HTTP,XML,SOAP,COM ) that are useful as integration points) And because of that SharePoint Support for Standards and Technologies to integrate with Lotus Domino such as
    • HTTP  ( User can display all Domino server inside SharePoint Page Viewer Web Part and display the domino server functions such email or any page in the ECM see this photo http://i.msdn.microsoft.com/dynimg/IC310179.jpg )
    • XML over HTTP
    • Web Services
    • SharePoint Web Service API
    • Custom application developed by dot net development
    • BDC (Business Data Catalog) /BCS (Business Connectivity service ) 

    This integration protocol failed to do some integration between Lotus Application and SharePoint such as (Rich Text, Audit information, Child/parent relationships, and Access control settings Doc Links, Data Validation, business Logic, workflow, automation) and there are Third party tools to fix these issues and provide integration

    3-      ThirdParty Tools:

    • There are set of third party tools to integrate and migrate the Lotus domino to SharePoint 2010

    Third party

    Tool

    Function

    Mainsoft

    SharePoint Integrator for Lotus Notes 

    -Leverage Taxonomy and Governance
    -Connect the two environments together.
    http://www.mainsoft.com/

    Colligo 

    Colligo Contributor  

    migration of Notes apps to SharePoint
    http://colligo.com/

    Benz Technologies

    SharePoint4Notes

    Integrate Lotus Notes and Domino, SharePoint and InfoPath using http://benztech.com/

    Benz Technologies

    The Rationalizer

    Use time to discover what's really important in your Notes and Domino applications to help in integration decisions
    http://benztech.com/

    Casahl

    EcKnowledge

    Data migration/sync, UI recreation,Application analysis www.casahl.com

    Quest

    Notes Migrator for Sharepoint

     

    Data migration, UI recreation, Application analysis www.quest.com

    Unify

    Migration Service

    Logic and UI http://www.unify.com/

    Binary Tree

    CMT for SharePoint

    Application migration utilities
    www.binarytree.com

    ba-insight

    Lotus Notes Connector

    Search connector that enable SharePoint or FAST to index Notes content, securely and with Enterprise performance.
    http://www.ba-insight.net/Products/Connectors/Notes/Pages/Lotus-Notes.aspx

    4-      Useful Links that may help to understand the story of integration/Migration between domino and SharePoint:

    Hope this Blog summarize the story of integration and was useful :) ENJOY

  • Lync Photo

    Microsoft Lync 2010 introduces the use of user photos on the contact card and other places in the user interface.

     

    How It Works

    Lync 2010 can display the photo of the signed-in user from two different sources:

     1 •The thumbnailPhoto attribute on the user's object in Active Directory Domain Services. (Global View)

    a- The picture can be synced from SharePoint “MySite” to the active directory attribute.

    After Intsalling SharePoint with MySite you need to enable Sharepoint Synchronization to the Active Directory.

    Users should Upload their picture from MySite in SharePoint then after replication is completed; Lync can now retreive the picture from the AD

    To Configure MySite in SharePoint 2010 and enable profile Synchronization Please follow the steps specified in the below technet Link

    http://technet.microsoft.com/en-us/library/ee721049.aspx 

     

    b- or Simply Use this application to upload images to the Active Directory attribute that Lync/ Outlook 2010 pulls display pictures from.

    Outlook 2010 /Lync 2010 can display a photo for each user account or contact in Active Directory but includes no way to upload images into the "thumbnailPhoto" Active Directory attribute that is used to store these images other than the command line tools included with Exchange 2010 or with SharePoint “MySite” picture sync.

    AD Photo Edit is a user friendly application designed to make it easy to upload, edit, and export these images.

    http://www.cjwdev.co.uk/Software/ADPhotoEdit/Info.html

     

     

    2 •A URL configured by the user. (Personal View)

    To change your picture you must have a personal picture on a public picture site, such as the Windows Live network of Internet services, Facebook, LinkedIn, or Flickr.

    http://office.microsoft.com/en-us/communicator-help/prepare-a-picture-for-lync-online-HA102145819.aspx