{"id":1340,"date":"2016-08-02T19:23:03","date_gmt":"2016-08-02T19:23:03","guid":{"rendered":"http:\/\/wp.andreas.bieri.name\/myblog\/?p=1340"},"modified":"2016-08-02T19:23:03","modified_gmt":"2016-08-02T19:23:03","slug":"powershell-tips-und-tricks","status":"publish","type":"post","link":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/","title":{"rendered":"Powershell Scripting und Skype for Business"},"content":{"rendered":"<p>\u00dcber die Zeit hinweg habe immer wieder kleinere Aufgaben im Umfeld vom Lync\/Skype for \u00a0Business mit Scripting l\u00f6sen k\u00f6nnen. Meine pers\u00f6nliche Best-of Linkliste f\u00fcr Powershell und C# ist unten zu finden. Mit grossartigen fertigen Powershell Scripts f\u00fcr Skype for Business oder auch nur kleinen Tips f\u00fcr einen cleveren Einzeiler haben sie mir das Leben schon h\u00e4ufig erleichtert.<\/p>\n<p>&nbsp;<\/p>\n<h4>Powershell\u00a0 Scripting Einf\u00fchrungen und Samples (allgemein)<\/h4>\n<ul>\n<li><a href=\"http:\/\/www.msxfaq.de\/code\/powershell\/powershell.htm\" target=\"_blank\">MSXFAQ<\/a><\/li>\n<li><a href=\"https:\/\/technet.microsoft.com\/de-de\/scriptcenter\/bb410849.aspx\" target=\"_blank\">Microsoft Script Center<\/a> mit vielen Scripts zum Download<\/li>\n<li><a href=\"http:\/\/www.myskypelab.com\/\" target=\"_blank\">MY SKYPE LAB<\/a><\/li>\n<li><a href=\"https:\/\/ucgeek.co\/powershell-scripts\/\" target=\"_blank\">uc geek<\/a><\/li>\n<li><a href=\"https:\/\/gallery.technet.microsoft.com\/lync\" target=\"_blank\">Lync Gallery<\/a><\/li>\n<li><a href=\"https:\/\/powershellstation.com\/blogs\/\" target=\"_blank\">Powershell Station<\/a><\/li>\n<li><a href=\"http:\/\/poshcode.org\/\" target=\"_blank\">PowerShell Code Repository<\/a><\/li>\n<\/ul>\n<h4><\/h4>\n<h4>Powershell\u00a0 Scripting Einf\u00fchrungen und Samples (Lync)<\/h4>\n<ul>\n<li><a href=\"http:\/\/www.myskypelab.com\/\" target=\"_blank\">MY SKYPE LAB<\/a><\/li>\n<li><a href=\"https:\/\/ucgeek.co\/powershell-scripts\/\" target=\"_blank\">uc geek<\/a><\/li>\n<li><a href=\"https:\/\/gallery.technet.microsoft.com\/lync\" target=\"_blank\">Lync Gallery<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>Remote Powershell mit Skype\/Lync<\/h4>\n<p>Skype\/Lync kann vollst\u00e4ndig \u00fcber eine remote Powershell Session administriert werden. In der Tat werden PS cmdlets immer \u00fcber einen Webservice ausgef\u00fchrt. Es stellen sich nat\u00fcrlich die Fragen zur Sicherheit (Zertifikate) und weiteren Best-Practices im Umgang mit remote PS (Variablen in der Session, Execution Policy, RBAC&#8230;).<\/p>\n<pre>$session = New-PSSession -ConnectionUri https:\/\/lyncfrontend.domain.com\/ocsPowerShell -Credential (Get-Credential)\nImport-PSSession -Session $session\n# mache die Arbeit\nRemove-PsSession $session<\/pre>\n<ul>\n<li><a href=\"http:\/\/www.msxfaq.de\/code\/powershell\/psremote.htm\" target=\"_blank\">Carius: PowerShell Remote nutzen<\/a><\/li>\n<li>Carius: <a href=\"http:\/\/www.msxfaq.de\/lync\/api\/pslync.htm\" target=\"_blank\">Lync PowerShell<\/a><\/li>\n<li><a href=\"http:\/\/www.ravichaganti.com\/blog\/ebook-laymans-guide-to-powershell-2-0-remoting\/\" target=\"_blank\">eBook: Layman\u2019s guide to PowerShell 2.0 remoting<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>Powershell und SQL<\/h4>\n<ul>\n<li><a href=\"https:\/\/blogs.msdn.microsoft.com\/microsoft_press\/2014\/10\/20\/from-the-mvps-powershell-and-sql-stored-procedure\/\" target=\"_blank\">Powershell und SQL Stored Procedure<\/a><\/li>\n<li><a href=\"https:\/\/mva.microsoft.com\/en-us\/training-courses\/powershell-for-sql-data-professionals-16532?l=XgA5w0PgC_8805121157\" target=\"_blank\">PowerShell for SQL Data Professionals<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>Powershell und C#<\/h4>\n<ul>\n<li><a href=\"https:\/\/msdn.microsoft.com\/library\/windows\/apps\/hh974581.aspx\" target=\"_blank\">Visual Studio Einstieg in C#<\/a><\/li>\n<li><a href=\"http:\/\/blogs.msdn.com\/b\/kebab\/archive\/2014\/04\/28\/executing-powershell-scripts-from-c.aspx\" target=\"_blank\">Executing PowerShell scripts from C#<\/a><\/li>\n<li><a href=\"https:\/\/blogs.technet.microsoft.com\/stefan_gossner\/2010\/05\/07\/using-csharp-c-code-in-powershell-scripts\/\" target=\"_blank\">Using CSharp (C#) code in Powershell scripts (Stefan Gossner)<\/a><\/li>\n<li><a href=\"http:\/\/www.codeproject.com\/Articles\/18229\/How-to-run-PowerShell-scripts-from-C\" target=\"_blank\">How-to-run-PowerShell-scripts-from-C (Codeproject)<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>Powershell GUI<\/h4>\n<ul>\n<li><a href=\"https:\/\/www.simple-talk.com\/dotnet\/.net-framework\/adding-a-graphical-front-end-to-your-powershell-scripts\/\" target=\"_blank\">Adding a Graphical Front End to your PowerShell Scripts<\/a>\u00a0Jonathan Medd: PowerGUI, PrimalForms, SQL Scripts Manager<\/li>\n<li><a href=\"https:\/\/www.sapien.com\/software\/powershell_studio\" target=\"_blank\">PowerShell Studio 2016<\/a><\/li>\n<li><a href=\"http:\/\/www.powertheshell.com\/\" target=\"_blank\">ISESteroids, a powerful extension to the built-in PowerShell Editor<\/a>\u00a0von <a href=\"https:\/\/mvp.microsoft.com\/en-us\/PublicProfile\/9199?fullName=Tobias%20Weltner\" target=\"_blank\">MVP Tobias Weltner<\/a>\u00a0mit Tutorial:\u00a0Build GUI with PowerShell<\/li>\n<\/ul>\n<h4><\/h4>\n<h4>Powershell Bot Scripting (UCWA, Client SDK)<\/h4>\n<ul>\n<li><a href=\"http:\/\/blogs.technet.com\/b\/csps\/archive\/2011\/05\/05\/sendim.aspx\" target=\"_blank\">Send an Instant Message from a Script<\/a><\/li>\n<li><a href=\"https:\/\/ucwa.skype.com\/websdk\" target=\"_blank\">Skype Web SDK (UCWA) Portal<\/a><\/li>\n<li><a href=\"https:\/\/www.angryadmin.co.uk\/?p=865\" target=\"_blank\">Send Skype For Business (Lync) IMs via Powershell<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>UCWA Development mit\/ohne Powershell<\/h4>\n<ul>\n<li><a href=\"https:\/\/msdn.microsoft.com\/en-us\/skype\/ucwa\/unifiedcommunicationswebapi2_0\" target=\"_blank\">Skype Developer Platform<\/a><\/li>\n<li><a href=\"http:\/\/www.codeproject.com\/Articles\/871653\/An-introduction-to-Sending-an-IM-with-UCWA\" target=\"_blank\">An introduction to Sending an IM with UCWA<\/a><\/li>\n<li><a href=\"https:\/\/ucryan.com\/2014\/11\/15\/lync-ucwa-app-e-mail-alert-based-upon-presence\/\" target=\"_blank\">UCWA App \u2013 E-mail Alert Based Upon Presence<\/a><\/li>\n<li><a href=\"https:\/\/www.matthewproctor.com\/skype-web-sdk-presence-dashboard-revisited\" target=\"_blank\">Skype for Business Presence Dashboard Revisited<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u00dcber die Zeit hinweg habe immer wieder kleinere Aufgaben im Umfeld vom Lync\/Skype for \u00a0Business mit Scripting l\u00f6sen k\u00f6nnen. Meine pers\u00f6nliche Best-of Linkliste f\u00fcr Powershell und C# ist unten zu finden. Mit grossartigen fertigen Powershell Scripts f\u00fcr Skype for Business oder auch nur kleinen Tips f\u00fcr einen cleveren Einzeiler haben sie mir das Leben schon [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,6],"tags":[77,100,122,130,137],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Powershell Scripting und Skype for Business - Merkbar.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Powershell Scripting und Skype for Business - Merkbar.\" \/>\n<meta property=\"og:description\" content=\"\u00dcber die Zeit hinweg habe immer wieder kleinere Aufgaben im Umfeld vom Lync\/Skype for \u00a0Business mit Scripting l\u00f6sen k\u00f6nnen. Meine pers\u00f6nliche Best-of Linkliste f\u00fcr Powershell und C# ist unten zu finden. Mit grossartigen fertigen Powershell Scripts f\u00fcr Skype for Business oder auch nur kleinen Tips f\u00fcr einen cleveren Einzeiler haben sie mir das Leben schon [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/\" \/>\n<meta property=\"og:site_name\" content=\"Merkbar.\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-02T19:23:03+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"wp_blogadmin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/#website\",\"url\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/\",\"name\":\"Merkbar.\",\"description\":\"IT, Elektronik und Mathematik\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"de\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/#webpage\",\"url\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/\",\"name\":\"Powershell Scripting und Skype for Business - Merkbar.\",\"isPartOf\":{\"@id\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/#website\"},\"datePublished\":\"2016-08-02T19:23:03+00:00\",\"dateModified\":\"2016-08-02T19:23:03+00:00\",\"author\":{\"@id\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/#\/schema\/person\/47691942dec3f2eb9d34bb8b5507870d\"},\"breadcrumb\":{\"@id\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Powershell Scripting und Skype for Business\"}]},{\"@type\":\"Person\",\"@id\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/#\/schema\/person\/47691942dec3f2eb9d34bb8b5507870d\",\"name\":\"wp_blogadmin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/#personlogo\",\"inLanguage\":\"de\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/d0dc804558b03f640b22e497ec010c9a?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/d0dc804558b03f640b22e497ec010c9a?s=96&d=mm&r=g\",\"caption\":\"wp_blogadmin\"},\"url\":\"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/author\/wp_blogadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Powershell Scripting und Skype for Business - Merkbar.","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":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/","og_locale":"de_DE","og_type":"article","og_title":"Powershell Scripting und Skype for Business - Merkbar.","og_description":"\u00dcber die Zeit hinweg habe immer wieder kleinere Aufgaben im Umfeld vom Lync\/Skype for \u00a0Business mit Scripting l\u00f6sen k\u00f6nnen. Meine pers\u00f6nliche Best-of Linkliste f\u00fcr Powershell und C# ist unten zu finden. Mit grossartigen fertigen Powershell Scripts f\u00fcr Skype for Business oder auch nur kleinen Tips f\u00fcr einen cleveren Einzeiler haben sie mir das Leben schon [&hellip;]","og_url":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/","og_site_name":"Merkbar.","article_published_time":"2016-08-02T19:23:03+00:00","twitter_card":"summary","twitter_misc":{"Verfasst von":"wp_blogadmin","Gesch\u00e4tzte Lesezeit":"2 Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/#website","url":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/","name":"Merkbar.","description":"IT, Elektronik und Mathematik","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"de"},{"@type":"WebPage","@id":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/#webpage","url":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/","name":"Powershell Scripting und Skype for Business - Merkbar.","isPartOf":{"@id":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/#website"},"datePublished":"2016-08-02T19:23:03+00:00","dateModified":"2016-08-02T19:23:03+00:00","author":{"@id":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/#\/schema\/person\/47691942dec3f2eb9d34bb8b5507870d"},"breadcrumb":{"@id":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/2016\/08\/02\/powershell-tips-und-tricks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/"},{"@type":"ListItem","position":2,"name":"Powershell Scripting und Skype for Business"}]},{"@type":"Person","@id":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/#\/schema\/person\/47691942dec3f2eb9d34bb8b5507870d","name":"wp_blogadmin","image":{"@type":"ImageObject","@id":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/#personlogo","inLanguage":"de","url":"http:\/\/1.gravatar.com\/avatar\/d0dc804558b03f640b22e497ec010c9a?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/d0dc804558b03f640b22e497ec010c9a?s=96&d=mm&r=g","caption":"wp_blogadmin"},"url":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/author\/wp_blogadmin\/"}]}},"_links":{"self":[{"href":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/wp-json\/wp\/v2\/posts\/1340"}],"collection":[{"href":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/wp-json\/wp\/v2\/comments?post=1340"}],"version-history":[{"count":0,"href":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/wp-json\/wp\/v2\/posts\/1340\/revisions"}],"wp:attachment":[{"href":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/wp-json\/wp\/v2\/media?parent=1340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/wp-json\/wp\/v2\/categories?post=1340"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ec2-52-29-166-97.eu-central-1.compute.amazonaws.com\/myblog\/wp-json\/wp\/v2\/tags?post=1340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}