{"id":93,"date":"2011-08-08T13:02:00","date_gmt":"2011-08-08T13:02:00","guid":{"rendered":"\/post\/2011\/08\/08\/List-used-phone-numbers-in-Lync.aspx"},"modified":"2011-08-08T13:02:00","modified_gmt":"2011-08-08T13:02:00","slug":"list-used-phone-numbers-in-lync","status":"publish","type":"post","link":"https:\/\/www.vatland.no\/index.php\/list-used-phone-numbers-in-lync\/","title":{"rendered":"List used phone numbers in Lync"},"content":{"rendered":"<p>This will list all used phone numbers in Lync. Except those used by Exchange UM (Auto Attendant ..)<\/p>\n<p>$LUser=Get-csuser -Filter {LineURI -ne $Null}<br \/>$PLUser=Get-CsUser -Filter {PrivateLine -ne $Null}<br \/>$LCommonarea=Get-cscommonareaphone -Filter {LineURI -ne $Null}<br \/>$LAnaloge=Get-csanalogdevice -Filter {LineURI -ne $Null}<br \/>$LAppEndPoint=Get-CSApplicationEndPoint -Filter {LineURI -ne $Null}<br \/>$LExchUM=Get-CsExUmContact -Filter {LineURI -ne $Null}<br \/>$LDialIN=Get-CsDialInConferencingAccessNumber -Filter {LineURI -ne $Null}<br \/>$Workflow=Get-CsRgsWorkflow<br \/>$LDevices=$LDialIN+$PLUser+$LUser+$LCommonarea+$LAnaloge+$LAppEndPoint<br \/>$LDevices|sort-object -property Lineuri | ft DisplayName,LineUri<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This will list all used phone numbers in Lync. Except those used by Exchange UM (Auto Attendant ..) $LUser=Get-csuser -Filter {LineURI -ne $Null}$PLUser=Get-CsUser -Filter {PrivateLine -ne $Null}$LCommonarea=Get-cscommonareaphone -Filter {LineURI -ne $Null}$LAnaloge=Get-csanalogdevice -Filter {LineURI -ne $Null}$LAppEndPoint=Get-CSApplicationEndPoint -Filter {LineURI -ne $Null}$LExchUM=Get-CsExUmContact -Filter {LineURI -ne $Null}$LDialIN=Get-CsDialInConferencingAccessNumber -Filter {LineURI -ne $Null}$Workflow=Get-CsRgsWorkflow$LDevices=$LDialIN+$PLUser+$LUser+$LCommonarea+$LAnaloge+$LAppEndPoint$LDevices|sort-object -property Lineuri | ft DisplayName,LineUri &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[6],"tags":[],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-lync"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"jetpack-related-posts":[{"id":1020,"url":"https:\/\/www.vatland.no\/index.php\/import-user-licenses-from-csp-using-csp-api-and-graph\/","url_meta":{"origin":93,"position":0},"title":"Import user licenses from CSP using CSP api and graph.","author":"Atle","date":"January 31, 2021","format":false,"excerpt":"Hi,there.This is also quiet simple. I want to get all users and what licenses they have been assigned. All this should do, is retrieve information using a csp token.After some attempts this is my best one. The \"goodlooking\" argument will not work when run from ISE.I'am still using the same\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65,"url":"https:\/\/www.vatland.no\/index.php\/lync-server-2013-prerequisite-install\/","url_meta":{"origin":93,"position":1},"title":"Lync server 2013 prerequisite install.","author":"Atle","date":"August 2, 2012","format":false,"excerpt":"When installing Lync server 2013 on a Windows server 2012 I got a missing prerequisite. All you have to do is to install the \"Windows Identity Foundation\" feature. Powershell: Add-WindowsFeature Windows-Identity-Foundation To\u00a0install all\u00a0of required Windows features : import-module servermanager add-windowsfeature telnet-client,RSAT-ADDS,net-framework-45-core,windows-identity-foundation,Web-Static-Content,Web-Default-Doc,Web-Http-Errors,web-asp-net,web-asp-net45,Web-Net-Ext,Web-ISAPI-Ext,web-isapi-filter,Web-Http-Logging,Web-Log-Libraries,Web-Http-Tracing,Web-Windows-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Web-Scripting-Tools,Web-Client-Auth,server-media-foundation,MSMQ-Server,MSMQ-Directory,NET-WCF-HTTP-Activation45 \u00a0To add \"add-windowsfeature Web-Asp-Net,Web-Net-Ext \" your computer needs access\u2026","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":950,"url":"https:\/\/www.vatland.no\/index.php\/secretservertycotic-plugin-for-powershell-secretsmanagement-module\/","url_meta":{"origin":93,"position":2},"title":"SecretServer(Thycotic) plugin for powershell SecretsManagement module.","author":"Atle","date":"February 18, 2020","format":false,"excerpt":"With the new powershell module SecretsManagement it is possible to add plugins. The new module is used to get\/add\/remove credentials. I created a plugin for secretserver to this module. To get started you will have to install secretsmanagement: Install-Module -Name Microsoft.Powershell.SecretsManagement -AllowPrerelease If -AllowPrerelase is not an option you would\u2026","rel":"","context":"In &quot;Powershell&quot;","block_context":{"text":"Powershell","link":"https:\/\/www.vatland.no\/index.php\/category\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":248,"url":"https:\/\/www.vatland.no\/index.php\/outlook-contact-phone-number-will-not-display-in-lync-client\/","url_meta":{"origin":93,"position":3},"title":"Outlook contact phone number will not display in Lync client.","author":"Atle","date":"August 13, 2014","format":false,"excerpt":"There have been some issues where phone numbers in Outlook does not show in Lync 2013 Client. After some time we discovered that this was because of a Lync\/Office update.\u00a0 Yesterday Microsoft releast August update for Lync 2013 Client, this includes a fix for this issue. The updated version is\u2026","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"Lync2013","src":"https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2014\/05\/Lync2013.gif?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":934,"url":"https:\/\/www.vatland.no\/index.php\/simple-powershell-mru-list\/","url_meta":{"origin":93,"position":4},"title":"Simple Powershell MRU list","author":"Atle","date":"December 23, 2019","format":false,"excerpt":"When using using my secret server powershell functions I got tired of constantly searching for secret ID's. I had to do a new search just because I could not remember the ID's. So I added some kind of MRU to my get-secretID function. This code block creates to classes mruitem\u2026","rel":"","context":"In &quot;Powershell&quot;","block_context":{"text":"Powershell","link":"https:\/\/www.vatland.no\/index.php\/category\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":57,"url":"https:\/\/www.vatland.no\/index.php\/lync-phone-unable-to-sign-in-after-windows-update-on-lync-server\/","url_meta":{"origin":93,"position":5},"title":"Lync phone unable to sign in after windows update on Lync Server.","author":"Atle","date":"January 2, 2013","format":false,"excerpt":"After update to Root Sertificates ( KB931125) http:\/\/support.microsoft.com\/kb\/931125\u00a0You are constantly getting Warning in the eventlog. Also Lync Phones will be unable to sign in. The error message on the phone is that the \"Registrar FQDN could not be resolved\". UPDATED: On new Phones you will only get a message that\u2026","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":0,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}