Archive

Archive for September, 2013

September 2013 Technical Rollup – Unified Communications

September 16th, 2013 No comments

News

Premier

TechNet Blogs

  1. http://blogs.technet.com/b/mspfe/
    http://blogs.technet.com/b/mspremuk/

Antigen & Forefront

TechNet Blogs

  1. http://blogs.technet.com/forefront
  2. http://blogs.technet.com/fssnerds

Exchange

TechNet Blogs

  1. Exchange Team Blog – Site Home – TechNet Blogs
    http://blogs.technet.com/b/exchange/
  2. MCS UK Unified Communications Blog – Site Home – TechNet Blogs
    http://blogs.technet.com/b/msukucc
    http://blogs.technet.com/b/msonline/

Other

  1. Part 3: Reverse Proxy for Exchange Server 2013 using IIS ARR
    http://blogs.technet.com/b/exchange/archive/2013/08/05/part-3-reverse-proxy-for-exchange-server-2013-using-iis-arr.aspx
  2. Exchange Server 2013 Deployment Assistant Updated!
    http://blogs.technet.com/b/exchange/archive/2013/08/05/exchange-server-2013-deployment-assistant-updated.aspx
  3. Database Availability Groups and Windows Azure
    http://blogs.technet.com/b/exchange/archive/2013/08/07/database-availability-groups-and-windows-azure.aspx
  4. Customizing Managed Availability
    http://blogs.technet.com/b/exchange/archive/2013/08/13/customizing-managed-availability.aspx
  5. Released: Update Rollups for Exchange 2007 & Exchange 2010 and Security Updates for Exchange 2013
    http://blogs.technet.com/b/exchange/archive/2013/08/13/released-exchange-2007-and-exchange-2010-rollups-and-exchange-2013-security-updates.aspx
  6. Exchange 2013 Security Update MS13-061 Status Update
    http://blogs.technet.com/b/exchange/archive/2013/08/14/exchange-2013-security-update-ms13-061-status-update.aspx
  7. Recovering public folder information in Exchange 2013
    http://blogs.technet.com/b/exchange/archive/2013/08/23/recovering-public-folder-information-in-exchange-2013.aspx
  8. Improvements to hit highlighting for OWA search
    http://blogs.technet.com/b/exchange/archive/2013/08/26/improvements-to-hit-highlighting-for-owa-search.aspx
  9. Now Available: Updated Release of MS13-061 Security Update for Exchange Server 2013 http://blogs.technet.com/b/exchange/archive/2013/08/27/now-available-updated-release-of-ms13-061-security-update-for-exchange-server-2013.aspx
  10. Hybrid Mailbox moves and EMC changes
    http://blogs.technet.com/b/exchange/archive/2013/08/29/hybrid-mailbox-moves-and-emc-changes.aspx
  11. Meet the Exchange Experts at Ignite Summits
    http://blogs.technet.com/b/exchange/archive/2013/08/30/meet-the-exchange-experts-at-ignite-summits.aspx

Hosted Messaging Collaboration

None

Lync, Office Communication Server & LiveMeeting

TechNet Blogs

  1. http://blogs.technet.com/b/nexthop/
  2. http://blogs.technet.com/b/drrez/

Outlook

Outlook Blog
http://blogs.office.com/b/microsoft-outlook/

Other

The Master Blog – Site Home – TechNet Blogs
http://blogs.technet.com/b/themasterblog/

Documents

Antigen & Forefront

Exchange

Security Update For Exchange Server 2013 CU1 (KB2874216)
http://www.microsoft.com/en-us/download/details.aspx?id=39910
Security Update For Exchange Server 2013 CU1 (KB2874216)
Release Date: 8/26/2013

SharePoint 2010: Getting Started with Development on SharePoint 2010 Hands-on Labs in C# and Visual Basic
http://www.microsoft.com/en-us/download/details.aspx?id=17215
Use these 10 hands-on lab manuals for SharePoint 2010 to get started learning SharePoint 2010 development.
Release Date: 8/22/2013

Multi-Tenant Scalability Guidance for Exchange Server 2013
http://www.microsoft.com/en-us/download/details.aspx?id=39941
This document provides scalability and deployment guidance for multi-tenant deployment based on Microsoft Exchange Server 2013.
Release Date: 8/19/2013

Open Specifications Posters
http://www.microsoft.com/en-us/download/details.aspx?id=29941
The Open Specifications Posters (PDF format) make it easy for interoperability developers to explore the Open Specifications overview documents for Office client, Lync, SharePoint, Office file formats, Exchange Server, SQL Server, and Windows.
Release Date: 8/19/2013

Update Rollup 7 for Exchange Server 2010 Service Pack 2 (KB2874216)
http://www.microsoft.com/en-us/download/details.aspx?id=39863
Update Rollup 7 for Exchange Server 2010 Service Pack 2 (KB2874216)
Release Date: 8/12/2013

Update Rollup 11 for Exchange Server 2007 Service Pack 3 (KB2873746)
http://www.microsoft.com/en-us/download/details.aspx?id=39803
Update Rollup 11 for Exchange Server 2007 Service Pack 3 (KB2873746)
Release Date: 8/12/2013

Update Rollup 2 For Exchange 2010 SP3 (KB2866475)
http://www.microsoft.com/en-us/download/details.aspx?id=39835
Update Rollup 2 For Exchange 2010 SP3 (KB2866475)
Release Date: 8/12/2013

Hosted Messaging Collaboration

None

Lync, Office Communication Server & LiveMeeting

Lync Right Start Kit
http://www.microsoft.com/en-us/download/details.aspx?id=39946
When selling a Lync Solution, there is opportunity to help the customer along their journey from legacy technology to Lync, a market leading Unified Communications solution. Understanding the customer journey and their questions is core to helping enterprises evaluate and adopt UC.
Release Date: 8/21/2013

Open Specifications Posters
http://www.microsoft.com/en-us/download/details.aspx?id=29941
The Open Specifications Posters (PDF format) make it easy for interoperability developers to explore the Open Specifications overview documents for Office client, Lync, SharePoint, Office file formats, Exchange Server, SQL Server, and Windows.
Release Date: 8/19/2013

Windows PowerShell Module for Lync Online
http://www.microsoft.com/en-us/download/details.aspx?id=39366
Module that allows use of Windows PowerShell to manage Lync Online deployments
Release Date: 8/18/2013

Outlook

JavaScript API for Office: by app type and host (wall posters)
http://www.microsoft.com/en-us/download/details.aspx?id=39720
This series of wall posters provides full-color, large-scale diagrams of the objects, methods, properties, events, and enumerations in the JavaScript API for Office, filtered by app type and host application. The poster is provided in PDF format. Whe…
Release Date: 8/8/2013

JavaScript API for Office (wall poster)
http://www.microsoft.com/en-us/download/details.aspx?id=36850
This wall poster that shows the JavaScript API for Office provides a full-color, large-scale mapping of the objects, methods, properties, events, and enumerations in the JavaScript API for Office. The poster is provided in PDF format. When you print …
Release Date: 8/8/2013

Update for Outlook 2003 Junk E-mail Filter (KB2817666)
http://www.microsoft.com/en-us/download/details.aspx?id=39921
Microsoft has released an update for Outlook 2003 Junk E-mail Filter . This update provides the latest fixes to Outlook 2003 Junk E-mail Filter . Additionally, this update contains stability and performance improvements.
Release Date: 8/7/2013

Update for Microsoft Office Outlook 2007 Junk Email Filter (KB2817642)
http://www.microsoft.com/en-us/download/details.aspx?id=39920
This update provides the Junk E-mail Filter in Microsoft Office Outlook 2007 Junk Email Filter with a more current definition of which e-mail messages should be considered junk e-mail.
Release Date: 8/5/2013

Update for Microsoft Office Outlook 2007 (KB2768023)
http://www.microsoft.com/en-us/download/details.aspx?id=39902
Microsoft has released an update for Microsoft Office Outlook 2007 . This update provides the latest fixes to Microsoft Office Outlook 2007 . Additionally, this update contains stability and performance improvements.
Release Date: 8/5/2013

Office 365 Single Sign-On with Shibboleth 2 whitepaper
http://www.microsoft.com/en-us/download/details.aspx?id=35464
Through its support for the SAML 2.0 protocol, Internet2 Shibboleth 2 provides claims-based (Web) single sign-on (also known as identity federation) with the Microsoft Office 365 offering and its Web application and e-mail rich client applications (like Outlook).
Release Date: 8/4/2013

Update for Microsoft Outlook 2013 (KB2817629) 32-Bit Edition
http://www.microsoft.com/en-us/download/details.aspx?id=39913
Microsoft has released an update for Microsoft Outlook 2013 32-Bit Edition. This update provides the latest fixes to Microsoft Outlook 2013 32-Bit Edition. Additionally, this update contains stability and performance improvements.
Release Date: 8/2/2013

Update for Microsoft Outlook 2013 (KB2817629) 64-Bit Edition
http://www.microsoft.com/en-us/download/details.aspx?id=39917
Microsoft has released an update for Microsoft Outlook 2013 64-Bit Edition. This update provides the latest fixes to Microsoft Outlook 2013 64-Bit Edition. Additionally, this update contains stability and performance improvements.
Release Date: 8/2/2013

Other

None

New KBs

Exchange

  1. ECS – Exchange – XADM: Email message delivery is delayed on a Blackberry mobile device after you install Update Rollup 4 for Exchange Server 2010 SP2
    http://support.microsoft.com/kb/2797529
  2. ECS – Exchange – XADM: Error message when you try to activate a passive copy of an Exchange Server 2010 SP3 database: “File check failed”
    http://support.microsoft.com/kb/2837926
  3. ECS – Exchange – XADM: Update 2874216 breaks the content index in Exchange Server 2013
    http://support.microsoft.com/kb/2879739
  4. ECS – Exchange – XADM: You must provide Windows account credentials when you connect to Exchange Server 2003 by using the Outlook 2003 RPC over HTTP feature
    http://support.microsoft.com/kb/820281
  5. ECS – Exchange – XADM: How to troubleshoot client RPC over HTTP connection issues in Outlook 2003
    http://support.microsoft.com/kb/827330
  6. ECS – Exchange – XADM: Error message when Outlook 2003 users connect to an Exchange server by using RPC over HTTP: “Server Unavailable”
    http://support.microsoft.com/kb/919092
  7. ECS – Exchange – XADM: The Exchange database online maintenance schedule, Information Store maintenance schedule, quota notification schedule, and OAB generation schedule are offset by one hour when DST changes occur
    http://support.microsoft.com/kb/960975
  8. ECS – Exchange – XADM: An HTTP 401.3 Error occurs when you configure the RPC over HTTP/S feature on an Exchange Server 2003 server that is running Windows Server 2003 Service Pack 1
    http://support.microsoft.com/kb/979176
  9. ECS – Exchange – XCON: Managed Availability messages are journaled in Exchange Server 2013
    http://support.microsoft.com/kb/2823959
  10. Microsoft Online – BPOS-D: MMSSPP does not deprovision Exchange mailbox and mail-enabled objects from the dedicated managed Office 365 environment
    http://support.microsoft.com/kb/2655364
  11. Microsoft Online – O365 Exchange Online: Non-Outlook email programs can’t connect to mailboxes that are hosted in Office 365
    http://support.microsoft.com/kb/2277579
  12. Microsoft Online – O365 Exchange Online: Error message when you try to migrate users from an on-premises Exchange Server environment to Exchange Online in Office 365: “Unable to connect to the server”
    http://support.microsoft.com/kb/2389390
  13. Microsoft Online – O365 Exchange Online: Outlook can’t set up a new profile by using Exchange Autodiscover for an Exchange Online mailbox in Office 365
    http://support.microsoft.com/kb/2404385
  14. Microsoft Online – O365 Exchange Online: You can’t use MAPI to set up Outlook 2003 for use with Exchange Online
    http://support.microsoft.com/kb/2449616
  15. Microsoft Online – O365 Exchange Online: Office 365 mail flow troubleshooting index
    http://support.microsoft.com/kb/2757871
  16. Microsoft Online – O365 Exchange Online: “Length of the property is too long” error when you try to set up a hybrid deployment
    http://support.microsoft.com/kb/2860844
  17. Microsoft Online – O365 Exchange Online: “Unable to cast object of type” error when you try to connect to the  Office 365 domain from an on-premises hybrid server
    http://support.microsoft.com/kb/2875125
  18. Microsoft Online – O365 Exchange Online: Missing certificate on the last page of the Hybrid Configuration Wizard
    http://support.microsoft.com/kb/2879262
  19. Microsoft Online – O365 Exchange Online: Outlook can’t connect to Exchange Online or a user can’t create new Outlook profiles in Office 365
    http://support.microsoft.com/kb/2879429
  20. Microsoft Online – O365 Exchange Online: “On behalf of” reply from a resource delegate to the meeting organizer in Office 365
    http://support.microsoft.com/kb/2879458
  21. Microsoft Online – O365 Exchange Online: Messages aren’t quarantined when you change the SCL rating in Office 365 or Exchange Online Protection
    http://support.microsoft.com/kb/2879660
  22. Microsoft Online – O365 Exchange Online: “Micro delay applied” warning, or scripts and cmdlets take a long time to run in Exchange Online
    http://support.microsoft.com/kb/2881759

Lync, Office Communication Server & LiveMeeting

  1. ECS – OCS: Audio and video pairing between Lync VDI and virtual Lync 2013 client fails
    http://support.microsoft.com/kb/2876530
  2. ECS – OCS: Lync Server 2013 Access Edge service fails to start or stops responding after it starts
    http://support.microsoft.com/kb/2877261
  3. ECS – OCS: “Lync Server 2013 Front End Server doesn’t have at least 8 CPU cores” warning
    http://support.microsoft.com/kb/2877496
  4. ECS – OCS: Too few Lync Server 2013 front-end servers in the Enterprise Edition pool
    http://support.microsoft.com/kb/2878653
  5. ECS – OCS: Installed memory is below the recommended value for Lync Server 2013 Front End servers
    http://support.microsoft.com/kb/2879049
  6. ECS – OCS: Lync Server 2013 is detected in an unsupported concurrent coexistence
    http://support.microsoft.com/kb/2880087
  7. ECS – OCS: Warning that Central Management Server is hosted by Lync Server 2010 in a Lync Server 2013 coexistence
    http://support.microsoft.com/kb/2880101
  8. Microsoft Online -  O365 Lync Online: You are continuously prompted for credentials after you sign in to Lync Online
    http://support.microsoft.com/kb/2298541
  9. Microsoft Online -  O365 Lync Online: You experience poor audio or video quality in Lync Online
    http://support.microsoft.com/kb/2386655
  10. Microsoft Online -  O365 Lync Online: Lync Online users can’t communicate with external contacts
    http://support.microsoft.com/kb/2392146
  11. Microsoft Online -  O365 Lync Online: You can’t connect to Lync Online, or certain features don’t work, because an on-premises firewall blocks the connection
    http://support.microsoft.com/kb/2409256
  12. Microsoft Online -  O365 Lync Online: Users can’t join online meetings in Lync Online
    http://support.microsoft.com/kb/2423848
  13. Microsoft Online -  O365 Lync Online: How to troubleshoot recording online meetings in Lync Online
    http://support.microsoft.com/kb/2433212
  14. Microsoft Online -  O365 Lync Online: Contacts in Lync appear offline or aren’t searchable in the address book
    http://support.microsoft.com/kb/2435699
  15. Microsoft Online -  O365 Lync Online: “There was a problem connecting to Microsoft Office Outlook” error when you sign in to Lync Online
    http://support.microsoft.com/kb/2436962
  16. Microsoft Online -  O365 Lync Online: Lync 2010 requires additional software to sign into Lync Online
    http://support.microsoft.com/kb/2459899
  17. Microsoft Online -  O365 Lync Online: User contact photos in Lync aren’t displayed correctly
    http://support.microsoft.com/kb/2497721
  18. Microsoft Online -  O365 Lync Online: You can’t set your location in Lync from a virtual machine or remote desktop connection
    http://support.microsoft.com/kb/2500669
  19. Microsoft Online -  O365 Lync Online: You can’t sign in to Lync Online by using a domain that is configured for full redelegation
    http://support.microsoft.com/kb/2526143
  20. Microsoft Online -  O365 Lync Online: Troubleshooting Lync Online DNS configuration issues in Office 365
    http://support.microsoft.com/kb/2566790
  21. Microsoft Online -  O365 Lync Online: Error message when an Office 365 user tries to sign in to Lync Online: “There was a problem acquiring a personal certificate required to sign in”
    http://support.microsoft.com/kb/2604176
  22. Microsoft Online -  O365 Lync Online: How to integrate Exchange Server 2013 with Lync Server 2013, Lync Online, or a Lync Server 2013 hybrid deployment
    http://support.microsoft.com/kb/2614242
  23. Microsoft Online -  O365 Lync Online: How to integrate Exchange Online with Lync Online, Lync Server 2013, or a Lync Server 2013 hybrid deployment
    http://support.microsoft.com/kb/2614614
  24. Microsoft Online -  O365 Lync Online: Lync 2010 can’t connect to the Lync Online service because a proxy is blocking connections from MSOIDSVC.exe
    http://support.microsoft.com/kb/2618060
  25. Microsoft Online -  O365 Lync Online: Troubleshoot Lync for Mac issues in Lync Online for Office 365
    http://support.microsoft.com/kb/2629861
  26. Microsoft Online -  O365 Lync Online: How to  troubleshoot issues that you may encounter when you use the Lync 2010 mobile client for Google Android
    http://support.microsoft.com/kb/2636313
  27. Microsoft Online -  O365 Lync Online: How to troubleshoot issues that you may encounter when you use the Lync 2010 mobile client for Windows Phone 7
    http://support.microsoft.com/kb/2636318
  28. Microsoft Online -  O365 Lync Online: How to troubleshoot issues that you may encounter when you use the Lync 2010 mobile client for iPhone and iPad
    http://support.microsoft.com/kb/2636320
  29. Microsoft Online -  O365 Lync Online: “Cannot connect to the server” error message when Lync Online users try to sign in to the Lync 2010 mobile client on a mobile device
    http://support.microsoft.com/kb/2636329
  30. Microsoft Online -  O365 Lync Online: Users can’t sign in to Lync Mobile on Apple iOS-based devices because of certificate errors
    http://support.microsoft.com/kb/2773530
  31. Microsoft Online -  O365 Lync Online: Troubleshooting the Lync Windows Store app for Windows 8 and Windows RT devices
    http://support.microsoft.com/kb/2779848
  32. Microsoft Online -  O365 Lync Online: Incoming Lync-to-phone calls aren’t transferred to Exchange Online Unified Messaging voice mail
    http://support.microsoft.com/kb/2781465
  33. Microsoft Online -  O365 Lync Online: Users can’t sign in to Lync Online by using Lync Mobile 2013
    http://support.microsoft.com/kb/2806012
  34. Microsoft Online -  O365 Lync Online: Audio or video connections are of poor quality or fail completely in Lync Mobile 2013
    http://support.microsoft.com/kb/2806017
  35. Microsoft Online -  O365 Lync Online: Lync contact list is empty or read-only after a user’s Exchange mailbox is disconnected, unlicensed, or moved
    http://support.microsoft.com/kb/2811654
  36. Microsoft Online -  O365 Lync Online: Error message when an administrator connects to Lync Online PowerShell for the first time
    http://support.microsoft.com/kb/2824005
  37. Microsoft Online -  O365 Lync Online: “Get-CsWebTicket : Getting web ticket for the given user is failed” error message when an administrator creates a new remote PowerShell session for Lync Online
    http://support.microsoft.com/kb/2829494
  38. Microsoft Online -  O365 Lync Online: “Move-CsUser : HostedMigration fault” error message when you move users to Lync Online from an on-premises Microsoft Lync Server
    http://support.microsoft.com/kb/2829500
  39. Microsoft Online -  O365 Lync Online: “Move-CsUser : HostedMigration fault: Error=(507)” error message when you try to move a user to Lync Online in a Lync hybrid deployment
    http://support.microsoft.com/kb/2829501
  40. Microsoft Online -  O365 Lync Online: Enterprise single sign-on users in Office 365 can’t sign in to Lync Online from inside their corporate network
    http://support.microsoft.com/kb/2839539
  41. Microsoft Online -  O365 Lync Online: The Lync Online contact list is empty or isn’t available for users who have Exchange Online mailboxes
    http://support.microsoft.com/kb/2859882
  42. Microsoft Online -  O365 Lync Online: You can’t upload a photo from Lync 2013 to Lync Online
    http://support.microsoft.com/kb/2860366
  43. Microsoft Online -  O365 Lync Online: “Can’t connect to the server” error message when a Lync Online user tries to sign in to Lync Mobile 2010 on Windows Phone 7 http://support.microsoft.com/kb/2866501
  44. Microsoft Online -  O365 Lync Online: “There was a problem connecting to Microsoft Office Outlook. Outlook is not installed or configured correctly” error message when you sign in to Lync Online by using Lync 2010
    http://support.microsoft.com/kb/a2787613

Outlook

  1. Commercial – Office for Mac Commercial: User with Free/Busy permission can’t open another calendar in Outlook for Mac 2011
    http://support.microsoft.com/kb/2876443
  2. Commercial – Office for Mac Commercial: Reply All adds the sender’s email address to the return message in Outlook for Mac 2011
    http://support.microsoft.com/kb/2878894
  3. Office – Outlook: Outlook: Unable to perform a Check Name or connect to an Exchange mailbox
    http://support.microsoft.com/kb/2264398
  4. Office – Outlook: How to install the latest applicable updates for Microsoft Outlook (US English only)
    http://support.microsoft.com/kb/2625547
  5. Office – Outlook: How to troubleshoot crashes in Outlook 2010 and Outlook 2013
    http://support.microsoft.com/kb/2632425
  6. Office – Outlook: Supportability for changing users in a single Outlook profile
    http://support.microsoft.com/kb/2649613
  7. Office – Outlook: Only a subset of your Exchange mailbox items are synchronized in Outlook 2013
    http://support.microsoft.com/kb/2733062
  8. Office – Outlook: “There are too many devices syncing with this account” error in Outlook 2013
    http://support.microsoft.com/kb/2802703
  9. Office – Outlook: How to import .nk2 files into Outlook 2013
    http://support.microsoft.com/kb/2806550
  10. Office – Outlook: Outlook is unable to connect to Exchange 2013 public folder or auto-mapped mailbox
    http://support.microsoft.com/kb/2839517
  11. Office – Outlook: Junk email message settings are not synchronized when you use Outlook 2013 to connect to an Outlook.com account
    http://support.microsoft.com/kb/2861826
  12. Office – Outlook: Long delay in connecting to the Exchange server after you receive the service upgrade for Office 365
    http://support.microsoft.com/kb/2862373
  13. Office – Outlook: How to use the Out of Office Assistant in Outlook
    http://support.microsoft.com/kb/290846
  14. Office – Outlook: Hyperlinks are not working in Outlook
    http://support.microsoft.com/kb/310049
  15. Office – Outlook: Error messages when you send and receive in Outlook and Outlook Express
    http://support.microsoft.com/kb/813514
  16. Office – Outlook: How to open a shared calendar from an Outlook sharing invitation
    http://support.microsoft.com/kb/912265
  17. Office – Outlook: Error message when you start Outlook 2007 to configure an Exchange 2003 mailbox if the AutoDiscover\’ZeroConfigExchange’ policy is set: “The connection to Microsoft Exchange is unavailable”
    http://support.microsoft.com/kb/927481

One Liner – Find Users Whose SMTP Address Doesn’t Match Their SIP Address

September 5th, 2013 1 comment

This one liner will list all users who have both SMTP email addresses (which appear in the Windows Email Address filed on their AD account), and a SIP address, but they don’t match. This is helpful in identifying users who may be contractors with their  own email address at their respective company, but have SIP addresses on your system. It’s also helpful in locating users who have typos in one of the two, or who are inadvertently assigned an incorrect SIP domain.

Get-CsAdUser | Where-Object {($_.WindowsEmailAddress -and $_.SipAddress) -and ($_.WindowsEmailAddress -ne ($_.SipAddress -replace "sip:",""))} | Select-Object DisplayName,WindowsEmailAddress,SIPAddress

This yields results such as

DisplayName       WindowsEmailAddress                    SIPAddress                 
-----------       -------------------                    ----------                 
Laurie Lederhouse llederhouse@fourthcoffee.com           sip:llederhouse@contoso.com
Eileen Alfini     eileena@fabrikam.com                   sip:ealfini@contoso.com    
Mike McGrath      mmcgrath@wingtiptoys.com               sip:mmcgrath@contoso.com   
Gavin Parmar      gparmar@contoso.com                    sip:goarmar@contoso.com

In this example, we see that the first three have different SMTP domains than SIP domains. In the last user, we see that the username part of the addresses is different, but the domains are the same. If you want to strip out the “sip:” from the SIPaddress column, we can add a little formatting and come up with

Get-CsAdUser | Where-Object {($_.WindowsEmailAddress -and $_.SipAddress) -and ($_.WindowsEmailAddress -ne ($_.SipAddress -replace "sip:",""))} | Select-Object displayname,windowsemailaddress,@{Expression={$_.sipaddress -replace "sip:"};label="SipAddress"}

 

Script: New-CsClonedPolicy.ps1 – Clones Existing Lync Server 2013/Skype for Business Server 2015 Policy To a New Policy

September 3rd, 2013 10 comments

Lync 2013 logo 128x128Description

Some Lync 2013/Skype for Business 2015 policies have few parameters, like User Services Policies. Others, like Conferencing Policies, have a considerable number of parameters. Often, organizations need to have different policies for different groups of people. Many times, there is only one or two settings that are different. Creating a new policy based on an existing policy can be time-consuming. There are some cool utilities like Kevin Peters’ cool StareCompare, which shows where policy settings are different between two policies. But what if it was just easier to “clone” an existing policy to a new policy, and then just change the few settings that need changing? NextHop has a nice article on how to just that. You export the current policy to an XML file, edit the file, then import it into a new policy. Must faster, but still requires some manual editing of an XML file. Ya know why I don’t like that method? Not enough PowerShell! So what I did was write a script that automates that method, and allows you to clone an existing policy to a new policy in one step. The script exports the existing “source” policy, updates the XML, then imports into the “target” policy. One command to make life easier. Then you can use the appropriate “set” cmdlet to tweak the new policy. And it works with all Lync 2013/Skype for Business 2015 policy types, including Archiving, Client, ClientVersion, Conferencing, ExternalAccess, HostedVoicemail, Location, Mobility, NetworkInterSite, PersistentChat, Pin, Presence, UserServices, Voice, and VoiceRouting. The script only works with Lync Server 2013/Skype for Business 2015 policies, and only runs on PowerShell 3.0 or higher (Windows Server 2012 or later).

The script supports Get-Help, so run that if you need additional info.

Syntax

New-CsClonedPolicy.ps1 [[-ExportFolder] ] [[-ExportFile] ] [[-SourcePolicyName] ] [[-TargetPolicyName] ] [[-PolicyType] ]
[[-Description] ] []

An example would be

New-CsClonedPolicy.ps1 -SourcePolicyName global -TargetPolicyName "new policy" -PolicyType ConferencingPolicy

This would clone the global conferencing policy into a new policy called “new policy”. Acceptable values for PolicyType are “ArchivingPolicy”, “ClientPolicy”, “ClientVersionPolicy”, “ConferencingPolicy”, “ExternalAccessPolicy”, “HostedVoicemailPolicy”, “LocationPolicy”, “MobilityPolicy”, “NetworkInterSitePolicy”, “PersistentChatPolicy”, “PinPolicy”, “PresencePolicy”, “UserServicesPolicy”, “VoicePolicy”, and “VoiceRoutingPolicy”

When specifying a TargetName, keep one thing in mind. Using just a string value will create a user level policy. If you need to create a site level policy, specify “site:”, such as “site:Redmond” to create a policy for the Redmond site.

Installation

Execution Policy: Third-party PowerShell scripts may require that the PowerShell Execution Policy be set to either AllSigned, RemoteSigned, or Unrestricted. The default is Restricted, which prevents scripts – even code signed scripts – from running. For more information about setting your Execution Policy, see Using the Set-ExecutionPolicy Cmdlet.

Donations

I’ve never been one to really solicit donations for my work. My offerings are created because *I* need to solve a problem, and once I do, it makes sense to offer the results of my work to the public. I mean, let’s face it: I can’t be the only one with that particular issue, right? Quite often, to my surprise, I’m asked why I don’t have a “donate” button so people can donate a few bucks. I’ve never really put much thought into it. But those inquiries are coming more often now, so I’m yielding to them. If you’d like to donate, you can send a few bucks via PayPal at https://www.paypal.me/PatRichard. Money collected from that will go to the costs of my website (hosting and domain names), as well as to my home lab.

Download

v1.3 – 02-03-2017 – New-CsClonedPolicy.v1.3.zip

v1.2 – 06-10-2014 – New-CsClonedPolicy.v1.2.zip

v1.1 – 02-08-2014 – New-CsClonedPolicy.v1.1.zip

v1.0 – 09-03-2013 – New-CsClonedPolicy.v1.0.zip

Changelog

See the changelog for information on what’s changed/included in each version.

Changelog: New-CsClonedPolicy.ps1

September 3rd, 2013 No comments

This is the changelog for New-CsClonedPolicy.ps1. You will find a complete list of released versions, their dates, and the features and issues addressed in each. Please refer to the script’s main page for more information including download links, installation details, and more.

v1.3 – 02-03-2017

  1. Minor code tweaks around defining site level policies
  2. Updated domain name info
  3. Updated disclaimer
  4. Updated the description of the cloned policy to be a little more informative
  5. Updated comment help
  6. Added new update method
  7. Added logging

v1.2 – 06-10-2014

  1. Fixed issue with source policies that have spaces in the name

v1.1 – 02-08-2014

  1. cleanup of param block per best practices
  2. cleanup of comment help per best practices
  3. swapped out “Write-Host” with “Write-Output” per best practices

v1.0 – 09-03-2013

  1. Original version