The TechReady 12 Q and A

Several weeks ago your two favorite Lync Server PowerShell writers – no, not those guys; we meant us, you know, your two favorite Lync Server PowerShell writers. Remember?   OK, fine. Several weeks ago our two favorite Lync Server PowerShell writers presented an instructor-led lab at Microsoft TechReady 12, the “… semi-annual internal technical conference…

2

Warning Before Disabling a User in Lync Server

How come there isn’t a warning prompt that appears when you run Disable-CsUser? It seems like a kind of dangerous cmdlet to not have a warning.   We hate to sound like a broken record, at least in part because we aren’t sure that there are any people out there who even remember what records…

0

Modify the SIP Address of an Enabled Lync Server User

Can Set-CsUser construct a SIP address for you?   No, it can’t. As you probably know, when you enable a user for Lync Server you can ask the system to create the user’s SIP address for you. For example, this command gives Ken Myer a SIP address based on his SamAccountName:   Enable-CsUser –Identity “Ken…

2

Questions and Answers from TechReady 11

Not long ago, the two authors of this article conducted an instructor-led lab at the TechReady Conference held in Seattle. Unless, of course, we didn’t. As we noted at the time, everything that happens at TechReady is considered hush-hush, even though everything we talked about during our session is publicly-available right here on this blog…

0

Why Are Display Names Allowed as User Identities?

Why Are Display Names Allowed as User Identities? After all, display names do not have to be unique in a forest.   Okay, so here’s the whole question: Display names do not have to be unique, which means I can have several users with the display name Ken Myer. If I try to enable one…

0

When Do I Have to Put Double Quotes Around Parameter Values?

Ah, yes: the great double quote conundrum. Compared to, say, VBScript, Windows PowerShell is remarkably good at figuring at what it is you want to do. For example, this command returns the voice policy RedmondVoicePolicy:   Get-CsVoicePolicy “RedmondVoicePolicy”   So does this command:   Get-CsVoicePolicy ‘RedmondVoicePolicy’   And so does this one:   Get-CsVoicePolicy RedmondVoicePolicy…

0

Can I Return Contact Objects That Have a SIP Address?

OK, this is an interesting one, simply because it’s a situation we never gave a thought to, and yet it’s apparently something that crops up in real life all the time; after all, we had three different people ask us this very same question. This particular question – Can I return contact objects that have…

0

%$#@ Special Characters!, Part 2

By Edwin Young   Last time, we looked at some curious behavior when running the New-CsAnalogDevice cmdlet: when you leave out a mandatory parameter like AnalogFax, then PowerShell prompts you for it; but weirdly, even if you enter $false, the property ends up true. Why is that?   This isn’t strictly about special characters, but…

0