Browse by Tags

Related Posts
  • Blog Post: If I Run Disable-CsUser Against a User Who Only Has a SIP Address Will That Delete the SIP Address?

    This was an easy one: you bet that Disable-CsUser will delete the SIP address. The basic premise is this: we have a user who has been assigned a SIP address; to be a little more specific, we have a user who has a value assigned to the Active Directory attribute msRTCSIP-PrimaryUserAddress. We haven't...
  • Blog Post: %$#@ 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...
  • Blog Post: 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 were...
  • Blog Post: 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...
  • Blog Post: 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 of those...
  • Blog Post: What Happens if You are Enabling a User for Lync Server, and You Make a Typo When Entering the SIP Domain?

    We have a confession to make here. When we were first asked this question we said, "As far as we know, the Enable-CsUser cmdlet verifies that the SIP domain actually exists before it lets you assign that domain as part of a SIP address. We’ll have to double-check that, but we’re pretty sure...
  • Blog Post: 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: ...
  • Blog Post: %$#@ Special Characters! Part 1

    By Edwin Young, Microsoft PowerShell has quite a sophisticated syntax, with lots of special characters and variables. For the most part, this is very useful. But there are a few “gotchas” that can leave you scratching your head. Here are some common examples people on our team have...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...