﻿{"id":98,"date":"2014-01-30T09:37:44","date_gmt":"2014-01-30T08:37:44","guid":{"rendered":"http:\/\/www.perillo.ch\/blog\/?p=98"},"modified":"2022-02-04T11:07:21","modified_gmt":"2022-02-04T10:07:21","slug":"comment-installer-les-cmdlets-powershell-xenapp","status":"publish","type":"post","link":"http:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/","title":{"rendered":"Comment installer les cmdlets powershell xenapp"},"content":{"rendered":"<p>Citrix \u00e0 commencer \u00e0\u00a0int\u00e9grer les cmdlets Powershell sur XenApp depuis la version 6. Que vous vouliez \u00e9crire des application interactive ou simplement\u00a0administrer\u00a0votre ferme en ligne de commande, il faut\u00a0pr\u00e9alablement\u00a0installer le \u00ab\u00a0XenApp PowerShell SDK\u00a0\u00bb.\u00a0 Cette article vous montre comment faire.<\/p>\n<p><!--more--><\/p>\n<h1>Installer le \u00ab\u00a0Citrix XenApp PowerShell sdk\u00a0\u00bb<\/h1>\n<p><span style=\"font-size: 1rem; line-height: 1.714285714;\">Avant de\u00a0<\/span>d\u00e9marrer,<span style=\"font-size: 1rem; line-height: 1.714285714;\">\u00a0il faut\u00a0<\/span>t\u00e9l\u00e9charger<span style=\"font-size: 1rem; line-height: 1.714285714;\">\u00a0et installer le \u00ab\u00a0Citrix XenApp PowerShell SDK\u00a0\u00bb (qui inclus les cmdlets XenApp). Les source d&rsquo;installation sont ici:\u00a0<\/span><a style=\"line-height: 1.714285714; font-size: 1rem;\" title=\"Powershell SDK\" href=\"https:\/\/www.citrix.com\/downloads\/xenapp\/sdks\/powershell-sdk.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.citrix.com\/downloads\/xenapp\/sdks\/powershell-sdk.html<\/a><a style=\"line-height: 1.714285714; font-size: 1rem;\" title=\"http:\/\/community.citrix.com\/display\/xa\/XenApp+6+PowerShell+SDK\" href=\"http:\/\/community.citrix.com\/display\/xa\/XenApp+6+PowerShell+SDK.\">.<\/a><\/p>\n<p>Je recommande de l&rsquo;installer sur un serveur XenApp, m\u00eame si techniquement il est possible de l&rsquo;installer sur une station de travail, mon\u00a0exp\u00e9rience montre que cela ne fonctionne pas toujours. Durant l&rsquo;installation, il faut \u00ab\u00a0checker\u00a0\u00bb\u00a0le \u00ab\u00a0update the execution policy to allsigned\u00a0\u00bb ceci permet de ne pas avoir des\u00a0ex\u00e9cution\u00a0malicieuse de script.<\/p>\n<p><a style=\"line-height: 1.714285714; font-size: 1rem;\" href=\"http:\/\/www.jasonconger.com\/images\/articleImages\/XA6%20SDK%20Execution%20Policy.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" title=\"XA6 SDK Execution Policy\" src=\"http:\/\/www.jasonconger.com\/images\/articleImages\/XA6%20SDK%20Execution%20Policy_thumb.png\" alt=\"XA6 SDK Execution Policy\" width=\"400\" height=\"339\" border=\"0\" \/><\/a><\/p>\n<h1>Ajouter le snappin dans votre univers powershell<\/h1>\n<p>Apr\u00e9s l&rsquo;installation, les commandes sont charg\u00e9e dans le GAC (Global Assembly Cache). Chaque fois que vous voudriez utilis\u00e9 les cmdlets XenApp, il faudra les ajouter dans votre univers powershell. Ceci se fais en lan\u00e7ant la commande Add-PSSnapin Citrix*<\/p>\n<p><a style=\"line-height: 1.714285714; font-size: 1rem;\" href=\"http:\/\/www.jasonconger.com\/images\/articleImages\/Citrix%20PSSnapin.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" title=\"Citrix PSSnapin\" src=\"http:\/\/www.jasonconger.com\/images\/articleImages\/Citrix%20PSSnapin_thumb.png\" alt=\"Citrix PSSnapin\" width=\"400\" height=\"341\" border=\"0\" \/><\/a><\/p>\n<p>En ajoutant ces snapin, vous pourrez executer toutes les cmdlets Xenapp. il est aussi possible de lancer powershell depuis le r\u00e9pertoire Citrix\/XenApp 6.5 Server SDK dans le start menu comme montrer ci-dessous. Ceci lance powershell avec les snapin XenApp pr\u00e9charg\u00e9, une sorte de \u00ab\u00a0ready-to-go\u00a0\u00bb.<\/p>\n<p><a href=\"http:\/\/www.perillo.ch\/blog\/wp-content\/uploads\/2014\/01\/xenapp_SDK.png\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-101\" src=\"http:\/\/www.perillo.ch\/blog\/wp-content\/uploads\/2014\/01\/xenapp_SDK-300x253.png\" alt=\"xenapp_SDK\" width=\"300\" height=\"253\" srcset=\"http:\/\/www.perillo.ch\/blog\/wp-content\/uploads\/2014\/01\/xenapp_SDK-300x253.png 300w, http:\/\/www.perillo.ch\/blog\/wp-content\/uploads\/2014\/01\/xenapp_SDK.png 403w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Citrix \u00e0 commencer \u00e0\u00a0int\u00e9grer les cmdlets Powershell sur XenApp depuis la version 6. Que vous vouliez \u00e9crire des application interactive ou simplement\u00a0administrer\u00a0votre ferme en ligne de commande, il faut\u00a0pr\u00e9alablement\u00a0installer le \u00ab\u00a0XenApp PowerShell SDK\u00a0\u00bb.\u00a0 Cette article vous montre comment faire.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[37,21,10],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"description\" content=\"Citrix \u00e0 commencer \u00e0\u00a0int\u00e9grer les cmdlets Powershell sur XenApp depuis la version 6. Que vous vouliez \u00e9crire des application interactive ou\" \/>\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.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Comment installer les cmdlets powershell xenapp - Perillo Jean-Fran\u00e7ois\" \/>\n<meta property=\"og:description\" content=\"Citrix \u00e0 commencer \u00e0\u00a0int\u00e9grer les cmdlets Powershell sur XenApp depuis la version 6. Que vous vouliez \u00e9crire des application interactive ou\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/\" \/>\n<meta property=\"og:site_name\" content=\"Perillo Jean-Fran\u00e7ois\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/jeanfrancois.perillo\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/jeanfrancois.perillo\" \/>\n<meta property=\"article:published_time\" content=\"2014-01-30T08:37:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-04T10:07:21+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.jasonconger.com\/images\/articleImages\/XA6%20SDK%20Execution%20Policy_thumb.png\" \/>\n<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jean-Fran\u00e7ois Perillo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.perillo.ch\/blog\/#website\",\"url\":\"http:\/\/www.perillo.ch\/blog\/\",\"name\":\"Perillo Jean-Fran\u00e7ois\",\"description\":\"Mes informations mis en ligne\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.perillo.ch\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/#primaryimage\",\"inLanguage\":\"fr-FR\",\"url\":\"http:\/\/www.jasonconger.com\/images\/articleImages\/XA6%20SDK%20Execution%20Policy_thumb.png\",\"contentUrl\":\"http:\/\/www.jasonconger.com\/images\/articleImages\/XA6%20SDK%20Execution%20Policy_thumb.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/#webpage\",\"url\":\"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/\",\"name\":\"Comment installer les cmdlets powershell xenapp - Perillo Jean-Fran\u00e7ois\",\"isPartOf\":{\"@id\":\"http:\/\/www.perillo.ch\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/#primaryimage\"},\"datePublished\":\"2014-01-30T08:37:44+00:00\",\"dateModified\":\"2022-02-04T10:07:21+00:00\",\"author\":{\"@id\":\"http:\/\/www.perillo.ch\/blog\/#\/schema\/person\/a779c0c9e1635971cbbe16bd6b4069d5\"},\"description\":\"Citrix \u00e0 commencer \u00e0\u00a0int\u00e9grer les cmdlets Powershell sur XenApp depuis la version 6. Que vous vouliez \u00e9crire des application interactive ou\",\"breadcrumb\":{\"@id\":\"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.perillo.ch\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Comment installer les cmdlets powershell xenapp\"}]},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.perillo.ch\/blog\/#\/schema\/person\/a779c0c9e1635971cbbe16bd6b4069d5\",\"name\":\"Jean-Fran\u00e7ois Perillo\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/www.perillo.ch\/blog\/#personlogo\",\"inLanguage\":\"fr-FR\",\"url\":\"http:\/\/0.gravatar.com\/avatar\/3e7e380d9254f969defb47b814dbf5af?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/0.gravatar.com\/avatar\/3e7e380d9254f969defb47b814dbf5af?s=96&d=mm&r=g\",\"caption\":\"Jean-Fran\u00e7ois Perillo\"},\"sameAs\":[\"http:\/\/www.perillo.ch\/blog\",\"https:\/\/www.facebook.com\/jeanfrancois.perillo\",\"https:\/\/twitter.com\/PerilloGF\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"description":"Citrix \u00e0 commencer \u00e0\u00a0int\u00e9grer les cmdlets Powershell sur XenApp depuis la version 6. Que vous vouliez \u00e9crire des application interactive ou","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.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/","og_locale":"fr_FR","og_type":"article","og_title":"Comment installer les cmdlets powershell xenapp - Perillo Jean-Fran\u00e7ois","og_description":"Citrix \u00e0 commencer \u00e0\u00a0int\u00e9grer les cmdlets Powershell sur XenApp depuis la version 6. Que vous vouliez \u00e9crire des application interactive ou","og_url":"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/","og_site_name":"Perillo Jean-Fran\u00e7ois","article_publisher":"https:\/\/www.facebook.com\/jeanfrancois.perillo","article_author":"https:\/\/www.facebook.com\/jeanfrancois.perillo","article_published_time":"2014-01-30T08:37:44+00:00","article_modified_time":"2022-02-04T10:07:21+00:00","og_image":[{"url":"http:\/\/www.jasonconger.com\/images\/articleImages\/XA6%20SDK%20Execution%20Policy_thumb.png"}],"twitter_misc":{"\u00c9crit par":"Jean-Fran\u00e7ois Perillo","Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"http:\/\/www.perillo.ch\/blog\/#website","url":"http:\/\/www.perillo.ch\/blog\/","name":"Perillo Jean-Fran\u00e7ois","description":"Mes informations mis en ligne","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.perillo.ch\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fr-FR"},{"@type":"ImageObject","@id":"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/#primaryimage","inLanguage":"fr-FR","url":"http:\/\/www.jasonconger.com\/images\/articleImages\/XA6%20SDK%20Execution%20Policy_thumb.png","contentUrl":"http:\/\/www.jasonconger.com\/images\/articleImages\/XA6%20SDK%20Execution%20Policy_thumb.png"},{"@type":"WebPage","@id":"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/#webpage","url":"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/","name":"Comment installer les cmdlets powershell xenapp - Perillo Jean-Fran\u00e7ois","isPartOf":{"@id":"http:\/\/www.perillo.ch\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/#primaryimage"},"datePublished":"2014-01-30T08:37:44+00:00","dateModified":"2022-02-04T10:07:21+00:00","author":{"@id":"http:\/\/www.perillo.ch\/blog\/#\/schema\/person\/a779c0c9e1635971cbbe16bd6b4069d5"},"description":"Citrix \u00e0 commencer \u00e0\u00a0int\u00e9grer les cmdlets Powershell sur XenApp depuis la version 6. Que vous vouliez \u00e9crire des application interactive ou","breadcrumb":{"@id":"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.perillo.ch\/blog\/comment-installer-les-cmdlets-powershell-xenapp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.perillo.ch\/blog\/"},{"@type":"ListItem","position":2,"name":"Comment installer les cmdlets powershell xenapp"}]},{"@type":"Person","@id":"http:\/\/www.perillo.ch\/blog\/#\/schema\/person\/a779c0c9e1635971cbbe16bd6b4069d5","name":"Jean-Fran\u00e7ois Perillo","image":{"@type":"ImageObject","@id":"http:\/\/www.perillo.ch\/blog\/#personlogo","inLanguage":"fr-FR","url":"http:\/\/0.gravatar.com\/avatar\/3e7e380d9254f969defb47b814dbf5af?s=96&d=mm&r=g","contentUrl":"http:\/\/0.gravatar.com\/avatar\/3e7e380d9254f969defb47b814dbf5af?s=96&d=mm&r=g","caption":"Jean-Fran\u00e7ois Perillo"},"sameAs":["http:\/\/www.perillo.ch\/blog","https:\/\/www.facebook.com\/jeanfrancois.perillo","https:\/\/twitter.com\/PerilloGF"]}]}},"_links":{"self":[{"href":"http:\/\/www.perillo.ch\/blog\/wp-json\/wp\/v2\/posts\/98"}],"collection":[{"href":"http:\/\/www.perillo.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.perillo.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.perillo.ch\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.perillo.ch\/blog\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":6,"href":"http:\/\/www.perillo.ch\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":233,"href":"http:\/\/www.perillo.ch\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions\/233"}],"wp:attachment":[{"href":"http:\/\/www.perillo.ch\/blog\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.perillo.ch\/blog\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.perillo.ch\/blog\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}