tag:blogger.com,1999:blog-2156539095375223979.post2187867687859800531..comments2024-03-20T03:35:01.157-04:00Comments on Ken's Unified Communications Blog: Useful Lync Powershell ScriptsKen Laskohttp://www.blogger.com/profile/14298995806059683301noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-2156539095375223979.post-42052786169740961042021-09-02T02:40:12.398-04:002021-09-02T02:40:12.398-04:00Hi, Can you please help to share script to remove ...Hi, Can you please help to share script to remove line uri for bulk users<br /><br />Thank youNid_Querieshttps://www.blogger.com/profile/01928574307468861960noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-29506188337706233302014-04-24T18:13:14.913-04:002014-04-24T18:13:14.913-04:00Super cool!!! I asked two different Lync contract...Super cool!!! I asked two different Lync contractors and they didn't have any suggestions (except to keep a running Excel file as we add/remove users - ick!). Should have known you'd know where to get it. Thanks a lot! Stale and Lasse have quite a few good tools on their site - I'll be testing these out tomorrow!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-6956410887961676322014-04-24T18:01:01.572-04:002014-04-24T18:01:01.572-04:00You should look at fellow Lync dudes Stale and Las...You should look at fellow Lync dudes Stale and Lasse tool that does exactly that. Check it out at http://lyncnumbers.net/.<br /><br />Ken Ken Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-60216368866187422212014-04-24T17:57:34.633-04:002014-04-24T17:57:34.633-04:00Ken,
I absolutely love your blog and find all you...Ken,<br /><br />I absolutely love your blog and find all your information super useful! <br /><br />Do you have a way/suggestion on how to display the next available extension for Lync? I like the script you have above to show all people with a telephone number, but short of copying that to an Excel file, filtering/sorting by LineURI, is there a better way to show that, for example, tel/ext# 1234 is available in a range of 1000-1999?<br /><br />Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-21430465076975764842014-04-02T14:18:54.197-04:002014-04-02T14:18:54.197-04:00Great stuff, thanks! in 'Get a List of All L...Great stuff, thanks! in 'Get a List of All Lync-Enabled Users Along with Selected AD Properties', it would be useful to exclude disabled AD users. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-86311457801749500332013-06-17T00:10:06.300-04:002013-06-17T00:10:06.300-04:00The example for moving users on a specific pool to...The example for moving users on a specific pool to Lync has some redundant info. There is no need to specify -OnOfficeCommunicationServer if you're also specifying the pool's DN. And theoretically, you shouldn't need the entire DN. You could use a -contains "poolname".Pat Richardhttp://www.ehloworld.comnoreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-38214430398061701722013-01-13T14:28:34.283-05:002013-01-13T14:28:34.283-05:00Uhmmm...hope I am not double posting here, was sup...Uhmmm...hope I am not double posting here, was supposed to reply to my own comment With an edit to a typo but it seems that it actually replaced my original one.<br /><br />I was trying to point out that you could rather apply the "Filter" parameter of the Get-CsUser cmdlet, like<br /><br />Get-CsUser -Filter (LineURI -ne "") | ft Name,Lineuri<br /><br />This looks a little cleaner, and also leaves the filtering job to the Front End server if you are running the command from elsewhere - keeping unwanted results off the network.<br /><br />Great blog btw!<br /><br />Brgds,<br />RuneRune D Stoknesnoreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-34162492747960868112012-11-02T16:37:41.356-04:002012-11-02T16:37:41.356-04:00Jawad,
The LDAPFilter is only used to filter resul...Jawad,<br />The LDAPFilter is only used to filter results based on a specified criteria, like Show only users who reside in Las Vegas. It doesn't do anything for actually displaying information. To get both Lync information and AD information, you need to combine the results from 2 commands. See my newly added sample called "Get a List of All Lync-Enabled Users Along with Selected AD Properties"<br /><br />KenKen Laskohttps://www.blogger.com/profile/14298995806059683301noreply@blogger.comtag:blogger.com,1999:blog-2156539095375223979.post-87249265119502794032012-11-01T17:58:22.572-04:002012-11-01T17:58:22.572-04:00Thanks for the above examples Ken, I am wondering ...Thanks for the above examples Ken, I am wondering if you have ever tried using the -LdapFilter parameter. In specific, I wanted to get a list of all of the users display names, sam account names sip address and if they were enabled for enterprise voice or not. I ran ve Get-CsUser | Format-Table -Property DisplayName, SamAccountName, SipAddress, EnterpriseVoiceEnabled -<br />AutoSize<br /><br />In addition I wanted to get all of their AD related information such as department, title address and such information too. And from what I can see it can be done using the -LdapFilter Parameter but I can't find any working examples of it. Any pointers will be helpful.<br /><br />Thanks.Anonymoushttps://www.blogger.com/profile/15761701603891355526noreply@blogger.com