<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Adding Additional Functions to PowerShell Language]]></title><description><![CDATA[<p dir="auto">I have several PowerShell Server Extensions to Include Windows Server and Hyper-V, but Notepad++ doesn’t recognize the commands to color them. Example, "Get-ChildItem C:" works, but “Get-VM ppVault” does not work.</p>
<p dir="auto">I tried looking it the NPP directory, but didn’t see any files that could be related to editing the command sources.</p>
<p dir="auto">Thanks for any help in advance.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/21586/adding-additional-functions-to-powershell-language</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 13:14:42 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21586.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Aug 2021 19:30:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Adding Additional Functions to PowerShell Language on Sun, 01 Aug 2021 22:58:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/undrac86" aria-label="Profile: unDrac86">@<bdi>unDrac86</bdi></a> said in <a href="/post/68484">Adding Additional Functions to PowerShell Language</a>:</p>
<blockquote>
<p dir="auto">editing the command sources.</p>
</blockquote>
<p dir="auto"><strong>Settings &gt; Style Configurator &gt; PowerShell &gt; CMDLET</strong> and add text to the <strong>user-defined keywords</strong> box</p>
<p dir="auto"><img src="/assets/uploads/files/1627858398870-203a0e34-e1f9-4bf7-a9fd-3646619076ce-image.png" alt="203a0e34-e1f9-4bf7-a9fd-3646619076ce-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1627858506241-f9a410ef-c5cc-462a-8cbc-1ba0990a2be7-image.png" alt="f9a410ef-c5cc-462a-8cbc-1ba0990a2be7-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Though I was surprised to learn that at least for PowerShell, the user-defined-keywords box is weirdly case-sensitive: if I typed <code>Get-VM</code> in the box, it <em>didn’t</em> highlight, even though that’s the case that’s used in the file; but if I typed <code>get-vm</code> in the box, it <em>will</em> highlight in the editor, whether it’s <code>Get-VM</code> or <code>get-vm</code> or <code>gET-vM</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/68487</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/68487</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 01 Aug 2021 22:58:59 GMT</pubDate></item></channel></rss>