<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Powershell on zoph.me</title>
    <link>/tags/powershell/</link>
    <description>Recent content in Powershell on zoph.me</description>
    <image>
      <title>zoph.me</title>
      <url>https://zoph.me/posts/resources/images/code-social.png</url>
      <link>https://zoph.me/posts/resources/images/code-social.png</link>
    </image>
    <generator>Hugo -- 0.148.2</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 09 Mar 2017 22:31:32 +0200</lastBuildDate>
    <atom:link href="/tags/powershell/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Office 365: Office 2016 Installation from USBKey using relative path</title>
      <link>/posts/2017-03-10-installation-office-2016-pro-plus-from-usbkey/</link>
      <pubDate>Thu, 09 Mar 2017 22:31:32 +0200</pubDate>
      <guid>/posts/2017-03-10-installation-office-2016-pro-plus-from-usbkey/</guid>
      <description>&lt;p&gt;&lt;strong&gt;[30/04/17] Update:&lt;/strong&gt; Following this post, I&amp;rsquo;ve pushed this script to &lt;a href=&#34;https://github.com/z0ph/Office2016-RelativePath&#34;&gt;GitHub&lt;/a&gt; if you want to contribute.&lt;/p&gt;
&lt;p&gt;I was trying to use the Office Deployment Tool (ODT) with a relative path for our Office 2016 ProPlus deployment (on USB Key &amp;amp; Hard Drive).&lt;/p&gt;
&lt;p&gt;USB Keys are mounted each time with different letters depending on how many devices are already mounted. I was stuck because the ODT XML Configuration file does not support relative paths.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using Jira REST API with PowerShell</title>
      <link>/posts/2017-01-05-using-jira-api-with-powershell/</link>
      <pubDate>Tue, 03 Jan 2017 22:31:32 +0200</pubDate>
      <guid>/posts/2017-01-05-using-jira-api-with-powershell/</guid>
      <description>&lt;p&gt;For automation purposes, I needed a tool to interact with the REST API of &lt;a href=&#34;https://en.atlassian.com/software/jira&#34;&gt;Atlassian Jira&lt;/a&gt; over PowerShell commands.&lt;/p&gt;
&lt;p&gt;I found a great module developed by &lt;a href=&#34;https://github.com/replicaJunction&#34;&gt;replicaJunction&lt;/a&gt; and contributors on GitHub called &lt;a href=&#34;https://github.com/replicaJunction/PSJira&#34;&gt;PSJira&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;installation&#34;&gt;Installation&lt;/h3&gt;
&lt;h4 id=&#34;you-will-need&#34;&gt;You will need&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;PowerShell &lt;code&gt;&amp;gt;=3.0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Install-Module PSJira&lt;/code&gt; (if you have &lt;a href=&#34;https://blogs.msdn.microsoft.com/mvpawardprogram/2014/10/06/package-management-for-powershell-modules-with-powershellget/&#34;&gt;Package Management Installed&lt;/a&gt; Module)&lt;/li&gt;
&lt;li&gt;and for sure, an Atlassian Jira instance&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;first-run&#34;&gt;First-Run&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34; id=&#34;hl-0-1&#34;&gt;&lt;a class=&#34;lnlinks&#34; href=&#34;#hl-0-1&#34;&gt;1&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Set-JiraConfigServer&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Server&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;https://my.jira.server.com:port&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;setup-jira-credentials-in-ps1&#34;&gt;Setup jira credentials in &lt;code&gt;.ps1&lt;/code&gt;&lt;/h3&gt;
&lt;h4 id=&#34;encrypt-credentials-once&#34;&gt;Encrypt credentials (Once)&lt;/h4&gt;
&lt;p&gt;Do this with the Windows session of the user who will launch the &lt;code&gt;.ps1&lt;/code&gt; scripts (service account)&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
