<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Powershell on saoe: The Nifty Oddity</title>
    <link>https://www.saoe.net/tags/powershell/</link>
    <description>Recent content in Powershell on saoe: The Nifty Oddity</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <managingEditor>info@saoe.net (Sascha Offe)</managingEditor>
    <webMaster>info@saoe.net (Sascha Offe)</webMaster>
    <copyright>© 2013-2024 Sascha Offe</copyright>
    <lastBuildDate>Sun, 28 Jun 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.saoe.net/tags/powershell/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Powershell: Working with XML</title>
      <link>https://www.saoe.net/blog/powershell-xml/</link>
      <pubDate>Sun, 26 Oct 2025 19:33:58 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-xml/</guid>
      <description>&lt;p&gt;A few tips and tricks for handling XML data with Powershell.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Console Colors</title>
      <link>https://www.saoe.net/blog/powershell-console-colors/</link>
      <pubDate>Sun, 19 Oct 2025 17:46:34 +0200</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-console-colors/</guid>
      <description>&lt;p&gt;A brief reminder for the topic of Console Colors and Powershell.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Dynamic Parameters</title>
      <link>https://www.saoe.net/blog/powershell-dynamic-parameters/</link>
      <pubDate>Thu, 17 Oct 2024 00:00:00 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-dynamic-parameters/</guid>
      <description>&lt;p&gt;This is an extension to my &lt;a href=&#34;https://www.saoe.net/blog/powershell-parameters&#34;&gt;notes on parameters for scripts or (advanced) functions in Powershell&lt;/a&gt;:&lt;br&gt;&#xA;&lt;em&gt;Dynamic&lt;/em&gt; (or &lt;em&gt;conditional&lt;/em&gt;) &lt;em&gt;parameters&lt;/em&gt; are an interesting and cool feature, but also a bit tricky and cumbersome to set up.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Working with JSON</title>
      <link>https://www.saoe.net/blog/powershell-json/</link>
      <pubDate>Thu, 09 May 2024 00:00:00 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-json/</guid>
      <description>&lt;p&gt;A few tips and tricks for handling JSON data with Powershell.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Working with the Windows Registry</title>
      <link>https://www.saoe.net/blog/powershell-windows-registry/</link>
      <pubDate>Wed, 28 Feb 2024 00:00:00 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-windows-registry/</guid>
      <description>&lt;p&gt;Here are some tips and trick on how to work on the Windows Registry with Powershell.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Using Write-Information</title>
      <link>https://www.saoe.net/blog/powershell-write-information/</link>
      <pubDate>Sun, 16 Jul 2023 15:07:36 +0200</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-write-information/</guid>
      <description>&lt;p&gt;This started out as a short entry for my &lt;a href=&#34;https://www.saoe.net/blog/powershell-snippets&#34;&gt;Powershell Snippets&lt;/a&gt; page,&#xA;but it quickly turned out that this cmdlet needs a longer text for explaining proper handling&amp;hellip;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Select Choice</title>
      <link>https://www.saoe.net/blog/powershell-select-choice/</link>
      <pubDate>Mon, 10 Jul 2023 00:00:00 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-select-choice/</guid>
      <description>&lt;p&gt;The need to prompt a user for a choice in a text menu (i.e. in the console), and a slight dissatisfaction&#xA;with the commonly recommended &lt;em&gt;$Host.ui.PromptForChoice()&lt;/em&gt; after experimenting a bit with it,&#xA;triggered me to ultimately write my own function.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Name of the current Citrix desktop</title>
      <link>https://www.saoe.net/blog/powershell-citrix-desktop-name/</link>
      <pubDate>Sun, 02 Jul 2023 17:28:09 +0200</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-citrix-desktop-name/</guid>
      <description>&lt;p&gt;For my day job, I wanted know the name of the &amp;lsquo;Citrix&amp;rsquo; desktop on which I was currently logged in,&#xA;because some features are only available on certain desktops in our environment.&lt;/p&gt;</description>
    </item>
    <item>
      <title>C&#43;&#43;: On #include guards</title>
      <link>https://www.saoe.net/blog/cpp-on-include-guards/</link>
      <pubDate>Mon, 14 Feb 2022 00:00:00 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/cpp-on-include-guards/</guid>
      <description>&lt;p&gt;In C and C++ there exists the concept of &lt;a href=&#34;https://en.wikipedia.org/wiki/Include_guard&#34; target=&#34;_blank&#34;&gt;include guards&lt;/a&gt; (header guards)&#xA;to prevent that a header file (or rather the content of such file) is included more than once,&#xA;because that could cause errors and strange behavior due to redeclarations or name collisions&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: PSCustomObject</title>
      <link>https://www.saoe.net/blog/powershell-pscustomobject/</link>
      <pubDate>Sat, 29 Jan 2022 14:06:32 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-pscustomobject/</guid>
      <description>&lt;p&gt;Powershell&amp;rsquo;s &lt;em&gt;PSCustomObject&lt;/em&gt; type has been a great tool, but since I don&amp;rsquo;t use it every day, I jotted&#xA;down some sample code and links for my future self (or any other interested reader 😄&#xD;&#xA;), as a reminder.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Journal #11</title>
      <link>https://www.saoe.net/blog/journal-11/</link>
      <pubDate>Thu, 06 Jan 2022 00:00:00 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/journal-11/</guid>
      <description>&lt;p&gt;Well, looks like I somehow caught a severe case of &amp;ldquo;summer blues&amp;rdquo; last year, that&amp;rsquo;s why I didn&amp;rsquo;t code much in&#xA;my spare time in the last couple of months. But now I&amp;rsquo;m slowly getting back in the saddle.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Using Regular Expressions</title>
      <link>https://www.saoe.net/blog/powershell-regex/</link>
      <pubDate>Fri, 05 Mar 2021 21:04:54 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-regex/</guid>
      <description>&lt;p&gt;This is &lt;em&gt;not&lt;/em&gt; a introduction or tutorial on what Regular Expressions (RegEx) are or can do,&#xA;but on how to use them with Powershell!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Journal #9</title>
      <link>https://www.saoe.net/blog/journal-9/</link>
      <pubDate>Fri, 05 Mar 2021 00:00:00 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/journal-9/</guid>
      <description>&lt;p&gt;The second half of 2020 was regrettably pretty unproductive for me in terms of (C++) code &amp;ndash; that&#xA;wasn&amp;rsquo;t really planned, but life is strange sometimes (&lt;em&gt;&amp;hellip; he says, sitting at home, during the COVID-19 lockdown&lt;/em&gt;).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell Snippets</title>
      <link>https://www.saoe.net/blog/powershell-snippets/</link>
      <pubDate>Fri, 22 Jan 2021 20:09:04 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-snippets/</guid>
      <description>&lt;p&gt;A collection of code snippets, small pearls of wisdom and bits of knowledge that may come handy at times.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Remote Session</title>
      <link>https://www.saoe.net/blog/powershell-remote-session/</link>
      <pubDate>Fri, 22 Jan 2021 19:04:38 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-remote-session/</guid>
      <description>&lt;p&gt;Notes on using a remote session with Powershell&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Cmdlet Aliases, Automatic Variables and other Shortcuts</title>
      <link>https://www.saoe.net/blog/powershell-aliases-autovars-shortcuts/</link>
      <pubDate>Thu, 21 Jan 2021 19:36:31 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-aliases-autovars-shortcuts/</guid>
      <description>&lt;p&gt;Some notes on the items listed in the title 😉&#xD;&#xA;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Splatting</title>
      <link>https://www.saoe.net/blog/powershell-splatting/</link>
      <pubDate>Thu, 21 Jan 2021 19:20:29 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-splatting/</guid>
      <description>&lt;p&gt;Some notes on the method of &amp;ldquo;splatting&amp;rdquo; in Powershell code.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Help</title>
      <link>https://www.saoe.net/blog/powershell-help/</link>
      <pubDate>Thu, 21 Jan 2021 18:53:38 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-help/</guid>
      <description>&lt;p&gt;Some notes on where and how to get help-information for Powershell commands.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Parameters for Scripts and (Advanced) Functions</title>
      <link>https://www.saoe.net/blog/powershell-parameters/</link>
      <pubDate>Tue, 19 Jan 2021 00:00:00 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-parameters/</guid>
      <description>&lt;p&gt;Some notes on parameters for scripts or (advanced) functions in Powershell.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Transcript (Log)</title>
      <link>https://www.saoe.net/blog/powershell-transcript/</link>
      <pubDate>Mon, 18 Jan 2021 21:09:37 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-transcript/</guid>
      <description>&lt;p&gt;A transcript logs all action of a Powershell session to a text file; good for documenting and archiving.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Profile</title>
      <link>https://www.saoe.net/blog/powershell-profile/</link>
      <pubDate>Mon, 18 Jan 2021 21:05:18 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-profile/</guid>
      <description>&lt;p&gt;A Powershell profile is a script file that is run each time a new Powershell is opened.&lt;/p&gt;&#xA;&lt;p&gt;You can define session-specific items in it (variables, aliases, functions, etc.) or&#xA;call other scripts and commands at the start of a new Powershell session.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Handle input from the pipeline</title>
      <link>https://www.saoe.net/blog/powershell-function-pipeline/</link>
      <pubDate>Mon, 18 Jan 2021 20:36:13 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-function-pipeline/</guid>
      <description>&lt;p&gt;A short description on how to make a Powershell function that can accept and process input data&#xA;that it gets from the pipeline.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Notepad&#43;&#43;: Run command</title>
      <link>https://www.saoe.net/blog/notepadplusplus-run-command/</link>
      <pubDate>Sun, 20 Dec 2020 16:05:05 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/notepadplusplus-run-command/</guid>
      <description>&lt;p&gt;How to add custom commands to the &lt;em&gt;Run&lt;/em&gt; menu.&lt;/p&gt;</description>
    </item>
    <item>
      <title>QuickADUserInfo 1.0</title>
      <link>https://www.saoe.net/blog/quickaduserinfo-1.0/</link>
      <pubDate>Tue, 05 May 2020 21:27:56 +0200</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/quickaduserinfo-1.0/</guid>
      <description>&lt;p&gt;The first version of my new little helper script &lt;a href=&#34;https://bitbucket.org/saoe/quickaduserinfo/&#34; target=&#34;_blank&#34;&gt;&lt;em&gt;QuickADUserInfo&lt;/em&gt;&lt;/a&gt; has been released.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Powershell: Starting a Script the Easy Way</title>
      <link>https://www.saoe.net/blog/powershell-starting-a-script-the-easy-way/</link>
      <pubDate>Sat, 25 Apr 2020 13:32:33 +0200</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/powershell-starting-a-script-the-easy-way/</guid>
      <description>&lt;p&gt;Powershell scripts can be very practical tools, but they lack an easy &lt;em&gt;Just Do It&lt;/em&gt; mode:&lt;br&gt;&#xA;Even as a developer/administrator/power-user, one has to remove several obstacles before you can use it;&#xA;and if you plan to deploy a script to (normal) users, you should take care of some issues before.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
