Hey Guys,
I am moving this blog onto my new address
These are some tools that could get you started with regex. They also include testers for your regex
RegExr Desktop is a tool for learning, editing, and testing regular expressions
http://gskinner.com/RegExr/desktop/
For Testing your regexes
If you ever want to export / import a mailbox use the below
1- You need to set a role assignment to the user
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User AD\Administrator
2- To Export Run the following command
New-MailboxExportRequest -Mailbox "SourceMailbox" -IncludeFolders "Namethefolder" -FilePath \\servername\c$\mailboxexport.pst
3- To import run the following command
New-MailboxImportRequest -Mailbox "NewRoomMailbox" -IncludeFolders "namethefolder" -FilePath \\servername\c$\mailboxexport.pst
For Example, the below exports calendar items from one Mailbox to the other
New-MailboxImportRequest -Mailbox "OLDRoomMailbox" -IncludeFolders "#Calendar#" -FilePath \\servername\c$\meetingroomcalendat.pst
New-MailboxExportRequest -Mailbox "NEWRoomMailbox" -IncludeFolders "#Calendar#" -FilePath \\servername\c$\meetingroomcalendat.pst
When installing Lync you will need the following for the roles
FrontEnd
For Server 2012:
PS C:\> Import-Module ServerManager
PS C:\> Add-WindowsFeature Web-Server, Web-Static-Content, Web-Default-Doc, Web-Scripting-Tools, Web-Windows-Auth, Web-Asp-Net, Web-Log-Libraries, Web-Http-Tracing, Web-Stat-Compression, Web-Default-Doc, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Errors, Web-Http-Logging, Web-Net-Ext, Web-Client-Auth, Web-Filtering, Web-Mgmt-Console, Web-Asp-Net45, Web-Net-Ext45, Web-Dyn-Compression, Web-Mgmt-Console, Desktop-Experience
For Server 2008 R2 SP1:
PS C:\> Import-Module ServerManager
PS C:\> Add-WindowsFeature Web-Server, Web-Static-Content, Web-Default-Doc, Web-Scripting-Tools, Web-Windows-Auth, Web-Asp-Net, Web-Log-Libraries, Web-Http-Tracing, Web-Stat-Compression, Web-Default-Doc, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Errors, Web-Http-Logging, Web-Net-Ext, Web-Client-Auth, Web-Filtering, Web-Mgmt-Console, Web-Dyn-Compression, Web-Mgmt-Console, Desktop-Experience
In-addition to the above you will need
1- Windows Identity Foundation from here
2- .NET Framework 4.5 from here
3- PowerShell 3.0 from Here
Office Web Apps
For Windows 2008 R2, run:
Import-Module ServerManager
Add-WindowsFeature Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,Web-Security,Web-Windows-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Ink-Handwriting,IH-Ink-Support
For Windows 2012, run:
Import-Module ServerManager
Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices,NET-Framework-Features, NET-Framework-Core, NET-HTTP-Activation, NET-Non-HTTP-Activ, NET-WCF-HTTP-Activation45
In addition you will need the below
1- Office Web Apps Server from here
2- .NET Framework 4.5 from here
3- PowerShell 3.0 from Here
4- KB2592525 from here
Several of my clients always face an issue when they want to renew the exchange certificate from their internal CA which doesn’t have the Web Enrollment installed and configured.
When they try to issue the certificate from the GUI they get the below issue
Denied By Policy Module 0x80094801, The Request does not contain a certificate template extension or the certificate template request attribute.
Now the solution is very easy, once you get a hold of the .req file you need to copy it over to you CA Server and run the below command
certreq -submit -attrib "CertificateTemplate:WebServer" <Cert Request.req>
Then you will be issued the certificate given you have proper permissions.
The OCS & Lync Sign-In Troubleshooter helps diagnose Microsoft Office Communicator and Lync client sign-in issues.
Can be found here
http://www.insideocs.com/Tools/MOCLogin.htm or from my BOX
To determine the Rollup that has been applied to Microsoft Exchange 2010, run the following command in the Exchange Management Shell:
GCM exsetup |%{$_.Fileversioninfo}
To determine the Microsoft Exchange version for all Microsoft Exchange Servers in the organisation:
Get-ExchangeServer | Format-Table Name, *Version*
Most companies don’t keep a unified E.164 Structure for users numbers in Active Directory, This offcourse causes lync not to display the numbers for users like below
Now there is a way to fix that, all you need to do is create a file called
Company_Phone_Number_Normalization_Rules.txt
and place it in your file store defined in your topology under AB folder in the 1-WebServices-1 Folder , so it should look like this
\\FileStoreServer\LyncShare\1-WebServices-1\ABFiles
Now after you create the file, you should fill it with the normalization rules as below
After doing this, you will see as below