Hello, and welcome to the Lync Server PowerShell Haiku of the Day! You know, we suspect that no one out there will be able to guess where today's haiku is coming from – what's that? Well, yeah, as a matter of fact it
coming from our offices here in Redmond. OK, well, then you'll never guess what today's haiku is
. Today's haiku is – well, yes, today's haiku
cmdlet. Good guess.
You know, the non-author of today's haiku told the author of today's haiku that playing a guessing game would be a lousy way to start today's column. And guess what? Yep, you got it: she was right.
Hey, there's a first time for everything.
. When the author of today's haiku was a kid, the standard response to the question "Guess what?" was this: "That's what." In other words:
Obviously that was a long time ago, before things like wit and humor had been invented. During the course of a school day you would also inevitably hear a conversation like this one:
"Give me the ball back."
"I don't make trash, I burn it."
Uh-huh. And this classic, which was used
every single day
by the author's sixth grade teacher:
"Mr. Robanske, I'm confused."
"And I'm Cliff. Why don't you drop over some time?"
OK, well here's something you'd
guess: we need to quit wasting time and get down to business, which means that it's time to talk about the Set-CsArchivingServer cmdlet. Of course, having said that, we should also point out that there really isn't much to say about the Set-CsArchivingServer cmdlet. The Set-CsArchivingServer cmdlet has only one job: it associates an Archiving server with an archiving database. That means that the only time you run Set-CsArchivingServer you'll be running a command similar to this one:
In the preceding command we've taken the Archiving server atl-cs-001.litwareinc.com and associated it with the archiving database atl-sql-001.litwareinc.com. That's pretty much all you need to do, and pretty much all you
do. Just make sure that, after associating the Archiving server with a database, you run the Enable-CsTopology cmdlet to enable the changes:
And yes, now that you mention it, it
kind of funny: everyone expects system administration to be really hard and really complicated, and when it turns out to be incredibly simple you almost feel let down.
Just two things to keep in mind here. First, there's a good chance you'll never need to run Set-CsArchivingServer; if it's on your
, well, you might want to think about replacing it with, say, "Attend Loy Krathong in Thailand." (To tell you the truth, we never heard of it, either. But it
.) You really only need to use this cmdlet if you have to move your archiving database. Otherwise, the association between Archiving server and archiving database takes place when you first deploy archiving.
Second, make sure you use the Lync Server Identity of the archiving database and not, say, the SQL Server path. You say you don't
the Lync Server identities of your archiving databases? Well, to be honest, we find that hard to believe. But, just in case, this command should help:
And, of course, this command returns information about your Archiving servers, including the database that the server is currently associated with:
Pretty handy, eh?
And guess what? Well, you're right: that
all we have for today. And yes, all things considered, today's haiku
imply that we should listen to the non-author of the haiku more often. But guess what ….