Back in the 1990s, the Scottish folk rock band The Proclaimers released a song –
I'm Gonna Be (500 Miles)
– that included these lyrics:
And if I haver
Yeah I know I'm gonna be
I'm gonna be the man who's havering to you
. Yes, that
remarkably close to being a haiku, isn't it? Spooky.
Although he liked the song, the author of today's haiku never knew what it meant to "haver." And every time he's heard that song over the past 15 or 20 years (however long it's been since the song was released) he's always said to himself, "What the heck does it mean to 'haver?'"
. Seeing as how this
the Age of the Internet, couldn't he have just looked up the word
? Well, yeah, maybe. But, then again, what with all these daily Lync Server PowerShell haikus and stuff he
been kind of busy the last 20 years.
However, this morning, while reading something that had nothing to do with Scottish folk rock, he learned the truth: to "haver" means to talk nonsense, to prattle on endlessly without making the least bit of sense. Case closed!
. What's that? You say that the author of today's haiku should be an
on anything having to do with prattling on endlessly without making the least bit of sense? Interesting. Why would you say that?
At any rate, having solved one of the two great mysteries of life, the author of today's haiku decided to go for a clean sweep and tackle the other great mystery of life as well: what is the
cmdlet, and why would you ever want to use it?
Let's start by explaining what the Enable-CsReplica cmdlet actually does. As you know, any computer that runs a Lync Server service server role has to be added to the Lync Server replication path; that's the only way that computer can get updates from the Central Management store. What does the Enable-CsReplica cmdlet do? You got it: it adds the local computer to the replication path, which means that the local store (the copy of the Lync Server configuration settings stored on the local computer) will then start receiving updates sent out by the Central Management store.
So much for "What is the Enable-CsReplica cmdlet?" Now let's take a look at the next question: Why would you ever want to use this command?
To be honest, as a Lync Server administrator you might
want to use this cmdlet. When you install a Lync Server service or server role the setup program will automatically call the Enable-CsReplica cmdlet for you and, as a result, will automatically add the local computer to the replication path. Setup does the work, and you can spend your time singing Scottish folk songs. We'd recommend
My Bonnie Lies Over the Ocean
. In Scottish, the word "bonnie" means pretty or charming. And no, we are not just havering here.
However, there's always the possibility that something could go wrong with the setup program; in that case, you might need to call Enable-CsReplica yourself. You might also need to call the cmdlet if you happen to be dabbling in creating your own trusted applications for Lync Server. This is a bit outside our area of expertise (we consider ourselves to be Scottish linguists more than we do developers), but if you're planning to create and activate an auto-provisioned trusted application you need to complete the following procedure:
Ensure that any computers on which the application will run are joined to the domain. (Kind of a no-brainer, but, still ….)
Install the Central Management Store replication service. (Something you do using Bootstrap.exe.)
Enable Central Management Store replication. (Something you do – that's right: something you do using our old friend Enable-CsReplica.)
Assign a certificate that lets the Lync Server 2010 topology know about the trusted application computer.
But, again, that's something most administrators won't have to worry about.
Oh, and if you ever
need to run Enable-CsReplica, well, you're in luck: calling the cmdlet is pretty darn easy. Just run this command from the computer that needs to be added to the replication path:
And yes, as a matter of fact we
get paid for writing in-depth technical commands such as the one we just showed you. Why do you ask?
And if you want to get
fancy, you can add the Report parameter and specify a location where the log file generated when you run Enable-CsReplica will be stored: