{"id":261,"date":"2016-11-23T07:37:44","date_gmt":"2016-11-23T05:37:44","guid":{"rendered":"http:\/\/www.busted.dk\/blog\/?p=261"},"modified":"2025-03-11T13:29:13","modified_gmt":"2025-03-11T11:29:13","slug":"get-list-mobile-phones-users-synchronize-exchange-online","status":"publish","type":"post","link":"https:\/\/www.busted.dk\/blog\/get-list-mobile-phones-users-synchronize-exchange-online\/","title":{"rendered":"Get a list of mobile phones and users who synchronize with your Exchange Online"},"content":{"rendered":"<p>Connect with Powershell to your Exchange Online.<\/p>\n<p>Run this command to list all users and mobile phones:<\/p>\n<p><strong><em>Get-mobiledevice | select devicetype, deviceos, identity<\/em><\/strong><\/p>\n<p>Add <strong><em>| out-grudview <\/em><\/strong>if you want the ability to group the list after for example mobile phone type.<\/p>\n<p><strong><em>Get-mobiledevice | select devicetype, deviceos, identity | out-gridview<\/em><\/strong><\/p>\n<p>You can also list users with a specific mobile phone. For example Samsung:<\/p>\n<p><strong><em>Get-mobiledevice | where {$_.devicetype -match &#8220;Samsung*&#8221;} | select devicetype, deviceos, identity<\/em><\/strong><\/p>\n<p>If you for example wants to delete all Samsung and HTC partnerships you can run this command:<\/p>\n<p><strong><em>Get-mobiledevice | where {$_.devicetype -match &#8220;Samsung*&#8221; -OR\u00a0 $_.devicetype -match &#8220;HTC*&#8221;} | select identity | remove-mobiledevice<\/em><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Connect with Powershell to your Exchange Online. Run this command to list all users and mobile phones: Get-mobiledevice | select devicetype, deviceos, identity Add | out-grudview if you want the ability to group the list after for example mobile phone type. Get-mobiledevice | select devicetype, deviceos, identity | out-gridview You can also list users with &#8230; <a title=\"Get a list of mobile phones and users who synchronize with your Exchange Online\" class=\"read-more\" href=\"https:\/\/www.busted.dk\/blog\/get-list-mobile-phones-users-synchronize-exchange-online\/\" aria-label=\"Read more about Get a list of mobile phones and users who synchronize with your Exchange Online\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[8,12,10],"class_list":["post-261","post","type-post","status-publish","format-standard","hentry","category-powershell","tag-exchange","tag-exchange-online","tag-powershell"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Get a list of mobile phones and users who synchronize with your Exchange Online - Peter Busted<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.busted.dk\/blog\/get-list-mobile-phones-users-synchronize-exchange-online\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Peter\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/get-list-mobile-phones-users-synchronize-exchange-online\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/get-list-mobile-phones-users-synchronize-exchange-online\\\/\"},\"author\":{\"name\":\"Peter\",\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/#\\\/schema\\\/person\\\/6f1b95dddb508da8b018577701c33c9d\"},\"headline\":\"Get a list of mobile phones and users who synchronize with your Exchange Online\",\"datePublished\":\"2016-11-23T05:37:44+00:00\",\"dateModified\":\"2025-03-11T11:29:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/get-list-mobile-phones-users-synchronize-exchange-online\\\/\"},\"wordCount\":110,\"publisher\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/#\\\/schema\\\/person\\\/6f1b95dddb508da8b018577701c33c9d\"},\"keywords\":[\"Exchange\",\"Exchange Online\",\"powershell\"],\"articleSection\":[\"PowerShell\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/get-list-mobile-phones-users-synchronize-exchange-online\\\/\",\"url\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/get-list-mobile-phones-users-synchronize-exchange-online\\\/\",\"name\":\"Get a list of mobile phones and users who synchronize with your Exchange Online - Peter Busted\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/#website\"},\"datePublished\":\"2016-11-23T05:37:44+00:00\",\"dateModified\":\"2025-03-11T11:29:13+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.busted.dk\\\/blog\\\/get-list-mobile-phones-users-synchronize-exchange-online\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/\",\"name\":\"Peter Busted\",\"description\":\"A blog about my daily work with tech and more, running since 2008\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/#\\\/schema\\\/person\\\/6f1b95dddb508da8b018577701c33c9d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/#\\\/schema\\\/person\\\/6f1b95dddb508da8b018577701c33c9d\",\"name\":\"Peter\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp\",\"url\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp\",\"contentUrl\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp\",\"width\":1790,\"height\":357,\"caption\":\"Peter\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp\"},\"url\":\"https:\\\/\\\/www.busted.dk\\\/blog\\\/author\\\/peter\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Get a list of mobile phones and users who synchronize with your Exchange Online - Peter Busted","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.busted.dk\/blog\/get-list-mobile-phones-users-synchronize-exchange-online\/","twitter_misc":{"Written by":"Peter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.busted.dk\/blog\/get-list-mobile-phones-users-synchronize-exchange-online\/#article","isPartOf":{"@id":"https:\/\/www.busted.dk\/blog\/get-list-mobile-phones-users-synchronize-exchange-online\/"},"author":{"name":"Peter","@id":"https:\/\/www.busted.dk\/blog\/#\/schema\/person\/6f1b95dddb508da8b018577701c33c9d"},"headline":"Get a list of mobile phones and users who synchronize with your Exchange Online","datePublished":"2016-11-23T05:37:44+00:00","dateModified":"2025-03-11T11:29:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.busted.dk\/blog\/get-list-mobile-phones-users-synchronize-exchange-online\/"},"wordCount":110,"publisher":{"@id":"https:\/\/www.busted.dk\/blog\/#\/schema\/person\/6f1b95dddb508da8b018577701c33c9d"},"keywords":["Exchange","Exchange Online","powershell"],"articleSection":["PowerShell"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.busted.dk\/blog\/get-list-mobile-phones-users-synchronize-exchange-online\/","url":"https:\/\/www.busted.dk\/blog\/get-list-mobile-phones-users-synchronize-exchange-online\/","name":"Get a list of mobile phones and users who synchronize with your Exchange Online - Peter Busted","isPartOf":{"@id":"https:\/\/www.busted.dk\/blog\/#website"},"datePublished":"2016-11-23T05:37:44+00:00","dateModified":"2025-03-11T11:29:13+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.busted.dk\/blog\/get-list-mobile-phones-users-synchronize-exchange-online\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.busted.dk\/blog\/#website","url":"https:\/\/www.busted.dk\/blog\/","name":"Peter Busted","description":"A blog about my daily work with tech and more, running since 2008","publisher":{"@id":"https:\/\/www.busted.dk\/blog\/#\/schema\/person\/6f1b95dddb508da8b018577701c33c9d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.busted.dk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.busted.dk\/blog\/#\/schema\/person\/6f1b95dddb508da8b018577701c33c9d","name":"Peter","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.busted.dk\/blog\/wp-content\/uploads\/2025\/03\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp","url":"https:\/\/www.busted.dk\/blog\/wp-content\/uploads\/2025\/03\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp","contentUrl":"https:\/\/www.busted.dk\/blog\/wp-content\/uploads\/2025\/03\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp","width":1790,"height":357,"caption":"Peter"},"logo":{"@id":"https:\/\/www.busted.dk\/blog\/wp-content\/uploads\/2025\/03\/cropped-f819f80c-bdd3-4653-87cc-89c692229010.webp"},"url":"https:\/\/www.busted.dk\/blog\/author\/peter\/"}]}},"_links":{"self":[{"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/posts\/261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/comments?post=261"}],"version-history":[{"count":3,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/posts\/261\/revisions"}],"predecessor-version":[{"id":265,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/posts\/261\/revisions\/265"}],"wp:attachment":[{"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/media?parent=261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/categories?post=261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.busted.dk\/blog\/wp-json\/wp\/v2\/tags?post=261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}