{"id":1681,"date":"2013-08-14T18:28:31","date_gmt":"2013-08-14T16:28:31","guid":{"rendered":"http:\/\/www.mariotti.de\/?p=1681"},"modified":"2013-08-14T18:28:31","modified_gmt":"2013-08-14T16:28:31","slug":"automatische-citrix-storefront-installation","status":"publish","type":"post","link":"https:\/\/dev.mariotti.de\/?p=1681","title":{"rendered":"Automatische Citrix StoreFront Installation"},"content":{"rendered":"<p>In meinem letzten Beitrag habe ich mich mit der automatischen Installation von XenDesktop 7.x besch\u00e4ftigt, heute m\u00f6chte ich dies fortf\u00fchren und eine M\u00f6glichkeit aufzeigen wie man das zugeh\u00f6rige Citrix StoreFront 2.x ebenfalls automatisch installiert, incl. des Einrichten eines ersten Stores und Anbindung an eine Citrix Farm.<\/p>\n<p>Die offizielle Citrix Dokumentation hierzu f\u00e4llt leider recht schwach aus, es wird lediglich die eigentliche Installation der Setup.exe per Kommandozeilenparameter erkl\u00e4rt, jedoch nicht das Einrichten eines Stores und das anbinden einer Farm, welches jedoch einfach per PowerShell m\u00f6glich ist. Der hierzu ben\u00f6tigte und nicht dokumentierte Citrix PowerShell Befehl lautet Set-DSInitialConfiguration. Um ihn verwenden zu k\u00f6nnen muss zuvor das ImportModules.ps1 Skript aus dem StoreFront Scripts Ordner ausgef\u00fchrt werden.<br \/>\nAbschlie\u00dfen noch der Hinweis, es empfiehlt sich, dass der IIS bereits voran installiert ist und zwar inklusive eingerichtetem SSL, dies erspart nachtr\u00e4glich StoreFront Konfigurationsschritte. Wie das geht kann man in meinem Beitrag SSL am IIS automatisch per Skript einrichten nachlesen. Hier nun mein beispielhaftes PowerShell Skript:<\/p>\n<pre><code class=\"language-powershell\"># Install StoreFront setup including the Citrix Clients\nC:\\Temp\\CitrixStoreFront-x64.exe -silent -WINDOWS_CLIENT \"C:\\Temp\\CitrixReceiver.exe\" -MAC_CLIENT \"C:\\Temp\\CitrixReceiver.dmg\"\n\n# Import Citrix PowerShell modules\n&amp; \"C:\\Program Files\\Citrix\\Receiver StoreFront\\Scripts\\ImportModules.ps1\"\n\n# Run initial configuration incl. store and farm configuration\nSet-DSInitialConfiguration -hostBaseUrl https:\/\/YourStorFrontServerFQDN -FarmName YourFarmName -port 80 -TransportType HTTP -SslRelayPort 443 -Servers YourXenDesktopServer -LoadBalance $false -FarmType XenDesktop<\/code><\/pre>\n<pre><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Der Artikel zeigt die automatische Installation und Grundkonfiguration von Citrix StoreFront 2.x mittels PowerShell<\/p>\n","protected":false},"author":2,"featured_media":2347,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35,37],"tags":[],"class_list":["post-1681","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-citrix","category-powershell"],"_links":{"self":[{"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=\/wp\/v2\/posts\/1681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1681"}],"version-history":[{"count":0,"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=\/wp\/v2\/posts\/1681\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=\/wp\/v2\/media\/2347"}],"wp:attachment":[{"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.mariotti.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}