Random info: Arrested DevOps Podcasts (08 Managing your mental stack)

Out of the list I am interested in, comes DevOps, because to me, DevOps is a great way to share knowledge and making sure that the work environment is healthy all the time…

One of the great podcasts and resources about DevOps is Arrested DevOps (https://www.arresteddevops.com). Go and check the site and start with the podcasts as soon as you can, because you will learn a lot…

I am following on the series, and since I recently started with episode one, I found this great episode and I really enjoyed listening to it: managing your mental stack https://www.arresteddevops.com/managing-your-mental-stack/

It is talking about how do you acquire new knowledge, what are the best resources and the PRACTICAL ways to do that… The great thing about this episode that it is not related only to DevOps… you can take it and apply it to literally everything…

So I encourage you … Read the rest “Random info: Arrested DevOps Podcasts (08 Managing your mental stack)”

Continue Reading →

Planning a migration project to Google Apps the right way – Part 1: Introduction

Introduction

This article is reflecting my own experience in planning and executing migration projects from an Exchange mail system to Google Apps for Work… I will try to make it as organized as possible while I make sure I include all the information and problems that I came across during my time working with these projects…

Why it is important to have a plan as close to 100% accuracy as possible?

First planning every project is the most important and critical phase. If you plan wrong, you will fail, if you plan well, your project will get through… But if you fail to plan, then you are making a plan to fail… whatever you do in the project planning phase/stage/time is considered a plan, whether a good one or a bad one… So doing that right is very important to everyone…

Second, when talking about an existing infrastructure of a … Read the rest “Planning a migration project to Google Apps the right way – Part 1: Introduction”

Continue Reading →

PS: Get all active directory groups with their member users

A quick and nice script to get all groups and their member users exported in PowerShell… you might need that for multiple reasons, and getting them quick is a nice thing…

Today I needed that for a customer who asked for it because he was cleaning his 1000 users active directory, and lucky me, the force of PowerShell can just do anything!

Script:

The above will just display the output on the screen, so in order to have it in a file, … Read the rest “PS: Get all active directory groups with their member users”

Continue Reading →

Guide to decommissioning old Exchange 2007 server

This is just a quick guide to decommission an old Exchange server 2007, since now 2010 and 2013 and even Office365 are everywhere, 2007 is considered obsolete same as 2003 during the days of 2010…

I am not going to get in details about this, just I will summarize the guide by putting the steps and the link to information/how to do it… the whole process consists of the following steps:

Step 1: Remove old OAB: http://social.technet.microsoft.com/Forums/en-US/f26f4d92-4792-4d28-9617-ff9095d94596/exchange-server-2007-error?forum=exchangesvrsecuremessaginglegacy (follow the first part steps 1, 2, 3, 4 from the answer).

Step 2: Remove the folders replicas from the public folders database if it exists: http://technet.microsoft.com/en-us/library/bb201664%28v=exchg.80%29.aspx (follow the section “To delete user and system public folders)

Possible (almost sure) errors: Object is read only because it was created by a future version of Exchange: http://social.technet.microsoft.com/Forums/en-US/f26f4d92-4792-4d28-9617-ff9095d94596/exchange-server-2007-error?forum=exchangesvrsecuremessaginglegacy (follow the last part steps 1, 2, 3 from the Read the rest “Guide to decommissioning old Exchange 2007 server”

Continue Reading →

PS: Read and output mailboxes and their sizes

In order to get a list of all (or part) of the mailboxes and view their sizes, simply use the following PS script:

The above command, will get all the mailboxes, and list their sizes and the database they are member or, then output the result to a text file called mbx_sizes.txt…

You can change the sorting to be Ascending, to have the smallest mailbox on top…

Also, you can get the sizes for mailboxes in a specific database by:

Read the rest “PS: Read and output mailboxes and their sizes”

Continue Reading →

CMS replication issues between Lync 2013 FE and Edge when using internal CA for Edge

Hi, so I had an implementation for Lync 2013, consist of an FE and Edge server, of course the front-end went smooth and was ready in no time, but I had an annoying problem on the Edge after I installed it, that kept me busy for 2 days, until I found out what was going on, on it…

The replication was not working between my FE and the Edge server, and when I type:

I see false on the Edge server, even if I run Invoke-CsManagementStoreReplication many times, I still don’t get anything on the Edge…

Because internal certificates are internal only, I used a local CA to issue the certificates on FE, and on the private side of the Edge as well, my CA was an intermediate one for a root CA on the same domain, so the certificate chain had 2 certificates in it, … Read the rest “CMS replication issues between Lync 2013 FE and Edge when using internal CA for Edge”

Continue Reading →

First blog got deleted and everything was lost…

Due to some real life pressure (some are related to my current work) I was driven away from the blog… until the hosting has expired and I lost everything was on it…

Now I’m trying to recover the first blog contents depending on old archives from it on the web, such as (http://web.archive.org/)… thanks to God that there are some archived snaps of the blog and my other blogs so I can take the texts out of them and put them here again…

This second blog should be in much better state and under better care, I have changed the address and title as well to be something better than the old one, but still typing the address of the old blog will redirect to here.

Also I will try my best to republish old posts with their same date to keep the URL structure in case someone came here … Read the rest “First blog got deleted and everything was lost…”

Continue Reading →

Allowing access to Google Apps through ISA/TMG

One migration I did, the customer was using ISA server 2006, the customer did not like ISA and wanted to get rid of it, despite my opposite opinion of ISA as a good and perfect firewall/proxy solution, I helped the customer or at least tried to move him into a MikroTik router that was installed in his site… the amount of rules and configurations done on ISA made that quick transition so slow and time consuming…

So to save both our migration and time, I decided to keep ISA for him now and just allow access to all Google domains for now so the migration can go well…

All I had to do was creating a domain set and add in it:

  • *.google.com
  • *.gmail.com
  • *.gstatic.com
  • *.googleusercontent.com
  • *.googleapis.com

I allowed HTTP, HTTPS traffic coming from internal network to these domains, and every user even the users who did not have internet … Read the rest “Allowing access to Google Apps through ISA/TMG”

Continue Reading →

PS: Bulk forwarding mailboxes to external addresses

Sometimes you get a sudden need to forward bulk users’ mail to external destination… in normal days, you would create a mail contact, then forward the selected user’s mail to the new external contact.

Now what if you got a large number of contacts to forward? well, you can either:

  1. Manually create all the required mail contacts, then assign each user to each contact.
  2. OR THE BETTER WAY: Use the magic of PowerShell!

This is a very simple and quick procedure…

First, you will need to create the contacts, which you can find how in the following post: PS: Creating bulk mail contacts

Then with another script, you will forward each user to his corresponding mail contact item:

You can Read the rest “PS: Bulk forwarding mailboxes to external addresses”

Continue Reading →