<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Alfa BBT &#187; Notepad++</title>
	<atom:link href="http://blog.koenvermoesen.be/tag/notepad/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.koenvermoesen.be</link>
	<description>Allways looking for a better Blog Title...</description>
	<lastBuildDate>Tue, 13 Jul 2010 09:33:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.koenvermoesen.be' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/72db48a689a5327f7bba8c9193cac8af?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Alfa BBT &#187; Notepad++</title>
		<link>http://blog.koenvermoesen.be</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.koenvermoesen.be/osd.xml" title="Alfa BBT" />
	<atom:link rel='hub' href='http://blog.koenvermoesen.be/?pushpress=hub'/>
		<item>
		<title>PowerCLI autocompletion for Notepad++</title>
		<link>http://blog.koenvermoesen.be/2010/05/06/powercli-autocompletion-for-notepad/</link>
		<comments>http://blog.koenvermoesen.be/2010/05/06/powercli-autocompletion-for-notepad/#comments</comments>
		<pubDate>Thu, 06 May 2010 14:14:35 +0000</pubDate>
		<dc:creator>Stijn Vermoesen</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Notepad++]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">https://k0v3.wordpress.com/?p=1014</guid>
		<description><![CDATA[Notepad++ supports Powershell from version v5.6 but the VMware PowerCLI cmdlets aren&#8217;t included. So I created PowerCLI Language definition file for syntax highlighting. It contains the cmdlets available in vSphere PowerCLI 4 Update 1 and vCenter Update Manager PowerCLI 4 Update 1. &#60;NotepadPlus&#62; &#60;UserLang name=&#34;PowerCLI&#34; ext=&#34;ps1&#34;&#62; &#60;Settings&#62; &#60;Global caseIgnored=&#34;yes&#34; /&#62; &#60;TreatAsSymbol comment=&#34;no&#34; commentLine=&#34;no&#34; /&#62; &#60;Prefix [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.koenvermoesen.be&blog=3561314&post=1014&subd=k0v3&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Notepad++ supports Powershell from version v5.6 but the VMware PowerCLI cmdlets aren&#8217;t included.</p>
<p>So I created PowerCLI Language definition file for syntax highlighting. It contains the cmdlets available in vSphere PowerCLI 4 Update 1 and vCenter Update Manager PowerCLI 4 Update 1.</p>
<pre class="brush: xml; wrap-lines: false;">
&lt;NotepadPlus&gt;
    &lt;UserLang name=&quot;PowerCLI&quot; ext=&quot;ps1&quot;&gt;
        &lt;Settings&gt;
            &lt;Global caseIgnored=&quot;yes&quot; /&gt;
            &lt;TreatAsSymbol comment=&quot;no&quot; commentLine=&quot;no&quot; /&gt;
            &lt;Prefix words1=&quot;yes&quot; words2=&quot;yes&quot; words3=&quot;no&quot; words4=&quot;no&quot; /&gt;
        &lt;/Settings&gt;
        &lt;KeywordLists&gt;
            &lt;Keywords name=&quot;Delimiters&quot;&gt;000000&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Folder+&quot;&gt;&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Folder-&quot;&gt;&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Operators&quot;&gt;&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Comment&quot;&gt;&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Words1&quot;&gt;Add-PassthroughDevice Add-VMHost Add-VmHostNtpServer Apply-DrsRecommendation Apply-VMHostProfile Connect-VIServer Copy-DatastoreItem Copy-HardDisk Copy-VMGuestFile Disconnect-VIServer Dismount-Tools Export-VApp Export-VMHostProfile Get-Annotation Get-CDDrive Get-Cluster Get-CustomAttribute Get-Datacenter Get-Datastore Get-DrsRecommendation Get-DrsRule Get-FloppyDrive Get-Folder Get-HardDisk Get-Inventory Get-IScsiHbaTarget Get-Log Get-LogType Get-NetworkAdapter Get-NicTeamingPolicy Get-OSCustomizationNicMapping Get-OSCustomizationSpec Get-PassthroughDevice Get-PowerCLIConfiguration Get-PowerCLIVersion Get-ResourcePool Get-ScsiLun Get-ScsiLunPath Get-Snapshot Get-Stat Get-StatInterval Get-StatType Get-Task Get-Template Get-UsbDevice Get-VApp Get-VICredentialStoreItem Get-VIEvent Get-View Get-VIObjectByVIView Get-VIPermission Get-VIPrivilege Get-VIRole Get-VirtualPortGroup Get-VirtualSwitch Get-VM Get-VMGuest Get-VMGuestNetworkInterface Get-VMGuestRoute Get-VMHost Get-VMHostAccount Get-VMHostAdvancedConfiguration Get-VMHostAvailableTimeZone Get-VMHostDiagnosticPartition Get-VMHostFirewallDefaultPolicy Get-VMHostFirewallException Get-VMHostFirmware Get-VMHostHba Get-VMHostModule Get-VMHostNetwork Get-VMHostNetworkAdapter Get-VMHostNtpServer Get-VMHostProfile Get-VMHostService Get-VMHostSnmp Get-VMHostStartPolicy Get-VMHostStorage Get-VMHostSysLogServer Get-VMQuestion Get-VMResourceConfiguration Get-VMStartPolicy Import-VApp Import-VMHostProfile Install-VMHostPatch Invoke-VMScript Mount-Tools Move-Cluster Move-Datacenter Move-Folder Move-Inventory Move-ResourcePool Move-Template Move-VM Move-VMHostNew-CDDrive New-ClusterNew-CustomAttribute New-CustomField New-Datacenter New-Datastore New-DrsRule New-FloppyDrive New-Folder New-HardDisk New-IScsiHbaTarget New-NetworkAdapter New-OSCustomizationNicMapping New-OSCustomizationSpec New-ResourcePool New-Snapshot New-StatInterval New-Template New-VApp New-VICredentialStoreItem New-VIPermission New-VIRole New-VirtualPortGroup New-VirtualSwitch New-VM New-VMGuestRoute New-VMHostAccount New-VMHostNetworkAdapter New-VMHostProfile Remove-CDDrive Remove-Cluster Remove-CustomAttribute Remove-CustomField Remove-Datacenter Remove-Datastore Remove-DrsRule Remove-FloppyDrive Remove-Folder Remove-HardDisk Remove-Inventory Remove-IScsiHbaTarget Remove-NetworkAdapter Remove-OSCustomizationNicMap... Remove-OSCustomizationSpec Remove-PassthroughDevice Remove-ResourcePool Remove-Snapshot Remove-StatInterval Remove-Template Remove-UsbDevice Remove-VApp Remove-VICredentialStoreItem Remove-VIPermission Remove-VIRole Remove-VirtualPortGroup Remove-VirtualSwitch Remove-VM Remove-VMGuestRoute Remove-VMHost Remove-VMHostAccount Remove-VMHostNetworkAdapter Remove-VMHostNtpServer Remove-VMHostProfile Restart-VM Restart-VMGuest Restart-VMHost Restart-VMHostService Set-Annotation Set-CDDrive Set-Cluster Set-CustomAttribute Set-CustomField Set-Datacenter Set-Datastore Set-DrsRule Set-FloppyDrive Set-Folder Set-HardDisk Set-IScsiHbaTarget Set-NetworkAdapter Set-NicTeamingPolicy Set-OSCustomizationNicMapping Set-OSCustomizationSpec Set-PowerCLIConfiguration Set-ResourcePool Set-ScsiLun Set-ScsiLunPath Set-Snapshot Set-StatInterval Set-Template Set-VApp Set-VIPermission Set-VIRole Set-VirtualPortGroup Set-VirtualSwitch Set-VM Set-VMGuestNetworkInterface Set-VMGuestRoute Set-VMHost Set-VMHostAccount Set-VMHostAdvancedConfiguration Set-VMHostDiagnosticPartition Set-VMHostFirewallDefaultPolicy Set-VMHostFirewallException Set-VMHostFirmware Set-VMHostHba Set-VMHostModule Set-VMHostNetwork Set-VMHostNetworkAdapter Set-VMHostProfile Set-VMHostService Set-VMHostSnmp Set-VMHostStartPolicy Set-VMHostStorage Set-VMHostSysLogServer Set-VMQuestion Set-VMResourceConfiguration Set-VMStartPolicy Shutdown-VMGuest Start-VApp Start-VM Start-VMHost Start-VMHostService Stop-Task Stop-VApp Stop-VM Stop-VMHost Stop-VMHostService Suspend-VM Suspend-VMGuest Suspend-VMHost Test-VMHostProfileCompliance Test-VMHostSnmp Update-Tools Wait-Task Attach-Baseline Detach-Baseline Download-Patch Get-Baseline Get-Compliance Get-Patch Get-PatchBaseline New-PatchBaseline Remediate-Inventory Remove-Baseline Scan-Inventory Set-PatchBaseline Stage-Patch&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Words2&quot;&gt;Answer-VMQuestion Get-ESX Get-PowerCLIDocumentation Get-VC Get-VIServer Get-VIToolkitConfiguration Get-VIToolkitVersion Set-VIToolkitConfiguration&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Words3&quot;&gt;&lt;/Keywords&gt;
            &lt;Keywords name=&quot;Words4&quot;&gt;&lt;/Keywords&gt;
        &lt;/KeywordLists&gt;
        &lt;Styles&gt;
            &lt;WordsStyle name=&quot;DEFAULT&quot; styleID=&quot;11&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
            &lt;WordsStyle name=&quot;FOLDEROPEN&quot; styleID=&quot;12&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
            &lt;WordsStyle name=&quot;FOLDERCLOSE&quot; styleID=&quot;13&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
            &lt;WordsStyle name=&quot;KEYWORD1&quot; styleID=&quot;5&quot; fgColor=&quot;0000FF&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;1&quot; /&gt;
            &lt;WordsStyle name=&quot;KEYWORD2&quot; styleID=&quot;6&quot; fgColor=&quot;8080FF&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
            &lt;WordsStyle name=&quot;KEYWORD3&quot; styleID=&quot;7&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
            &lt;WordsStyle name=&quot;KEYWORD4&quot; styleID=&quot;8&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
            &lt;WordsStyle name=&quot;COMMENT&quot; styleID=&quot;1&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
            &lt;WordsStyle name=&quot;COMMENT LINE&quot; styleID=&quot;2&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
            &lt;WordsStyle name=&quot;NUMBER&quot; styleID=&quot;4&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
            &lt;WordsStyle name=&quot;OPERATOR&quot; styleID=&quot;10&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
            &lt;WordsStyle name=&quot;DELIMINER1&quot; styleID=&quot;14&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
            &lt;WordsStyle name=&quot;DELIMINER2&quot; styleID=&quot;15&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
            &lt;WordsStyle name=&quot;DELIMINER3&quot; styleID=&quot;16&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
        &lt;/Styles&gt;
    &lt;/UserLang&gt;
&lt;/NotepadPlus&gt;
</pre>
<p>To add PowerCLI as a user-defined language %APPDATA%\Notepad++\userDefineLang.xml and add the above configuration to this file.</p>
<p>Secondly I created a PowerCLI auto-completion file which contains the same PowerCLI cmdlets. This configuration needs to be added to C:\Program Files\Notepad++\plugins\APIs\PowerCLI.xml. The name of the auto-completion file needs to be the same as defined in the user-defined language definition file.</p>
<pre class="brush: xml; wrap-lines: false;">
&lt;NotepadPlus&gt;
	&lt;AutoComplete&gt;
		&lt;KeyWord name=&quot;Add-PassthroughDevice&quot;/&gt;
		&lt;KeyWord name=&quot;Add-VMHost&quot;/&gt;
		&lt;KeyWord name=&quot;Add-VmHostNtpServer&quot;/&gt;
		&lt;KeyWord name=&quot;Answer-VMQuestion&quot;/&gt;
		&lt;KeyWord name=&quot;Apply-DrsRecommendation&quot;/&gt;
		&lt;KeyWord name=&quot;Apply-VMHostProfile&quot;/&gt;
		&lt;KeyWord name=&quot;Attach-Baseline&quot;/&gt;
		&lt;KeyWord name=&quot;Connect-VIServer&quot;/&gt;
		&lt;KeyWord name=&quot;Copy-DatastoreItem&quot;/&gt;
		&lt;KeyWord name=&quot;Copy-HardDisk&quot;/&gt;
		&lt;KeyWord name=&quot;Copy-VMGuestFile&quot;/&gt;
		&lt;KeyWord name=&quot;Detach-Baseline&quot;/&gt;
		&lt;KeyWord name=&quot;Disconnect-VIServer&quot;/&gt;
		&lt;KeyWord name=&quot;Dismount-Tools&quot;/&gt;
		&lt;KeyWord name=&quot;Download-Patch&quot;/&gt;
		&lt;KeyWord name=&quot;Export-VApp&quot;/&gt;
		&lt;KeyWord name=&quot;Export-VMHostProfile&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Annotation&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Baseline&quot;/&gt;
		&lt;KeyWord name=&quot;Get-CDDrive&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Cluster&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Compliance&quot;/&gt;
		&lt;KeyWord name=&quot;Get-CustomAttribute&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Datacenter&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Datastore&quot;/&gt;
		&lt;KeyWord name=&quot;Get-DrsRecommendation&quot;/&gt;
		&lt;KeyWord name=&quot;Get-DrsRule&quot;/&gt;
		&lt;KeyWord name=&quot;Get-ESX&quot;/&gt;
		&lt;KeyWord name=&quot;Get-FloppyDrive&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Folder&quot;/&gt;
		&lt;KeyWord name=&quot;Get-HardDisk&quot;/&gt;
		&lt;KeyWord name=&quot;Get-IScsiHbaTarget&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Inventory&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Log&quot;/&gt;
		&lt;KeyWord name=&quot;Get-LogType&quot;/&gt;
		&lt;KeyWord name=&quot;Get-NetworkAdapter&quot;/&gt;
		&lt;KeyWord name=&quot;Get-NicTeamingPolicy&quot;/&gt;
		&lt;KeyWord name=&quot;Get-OSCustomizationNicMapping&quot;/&gt;
		&lt;KeyWord name=&quot;Get-OSCustomizationSpec&quot;/&gt;
		&lt;KeyWord name=&quot;Get-PassthroughDevice&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Patch&quot;/&gt;
		&lt;KeyWord name=&quot;Get-PatchBaseline&quot;/&gt;
		&lt;KeyWord name=&quot;Get-PowerCLIConfiguration&quot;/&gt;
		&lt;KeyWord name=&quot;Get-PowerCLIDocumentation&quot;/&gt;
		&lt;KeyWord name=&quot;Get-PowerCLIVersion&quot;/&gt;
		&lt;KeyWord name=&quot;Get-ResourcePool&quot;/&gt;
		&lt;KeyWord name=&quot;Get-ScsiLun&quot;/&gt;
		&lt;KeyWord name=&quot;Get-ScsiLunPath&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Snapshot&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Stat&quot;/&gt;
		&lt;KeyWord name=&quot;Get-StatInterval&quot;/&gt;
		&lt;KeyWord name=&quot;Get-StatType&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Task&quot;/&gt;
		&lt;KeyWord name=&quot;Get-Template&quot;/&gt;
		&lt;KeyWord name=&quot;Get-UsbDevice&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VApp&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VC&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VICredentialStoreItem&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VIEvent&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VIObjectByVIView&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VIPermission&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VIPrivilege&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VIRole&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VIServer&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VIToolkitConfiguration&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VIToolkitVersion&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VM&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMGuest&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMGuestNetworkInterface&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMGuestRoute&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHost&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostAccount&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostAdvancedConfiguration&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostAvailableTimeZone&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostDiagnosticPartition&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostFirewallDefaultPolicy&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostFirewallException&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostFirmware&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostHba&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostModule&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostNetwork&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostNetworkAdapter&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostNtpServer&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostProfile&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostService&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostSnmp&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostStartPolicy&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostStorage&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMHostSysLogServer&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMQuestion&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMResourceConfiguration&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VMStartPolicy&quot;/&gt;
		&lt;KeyWord name=&quot;Get-View&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VirtualPortGroup&quot;/&gt;
		&lt;KeyWord name=&quot;Get-VirtualSwitch&quot;/&gt;
		&lt;KeyWord name=&quot;Import-VApp&quot;/&gt;
		&lt;KeyWord name=&quot;Import-VMHostProfile&quot;/&gt;
		&lt;KeyWord name=&quot;Install-VMHostPatch&quot;/&gt;
		&lt;KeyWord name=&quot;Invoke-VMScript&quot;/&gt;
		&lt;KeyWord name=&quot;Mount-Tools&quot;/&gt;
		&lt;KeyWord name=&quot;Move-Cluster&quot;/&gt;
		&lt;KeyWord name=&quot;Move-Datacenter&quot;/&gt;
		&lt;KeyWord name=&quot;Move-Folder&quot;/&gt;
		&lt;KeyWord name=&quot;Move-Inventory&quot;/&gt;
		&lt;KeyWord name=&quot;Move-ResourcePool&quot;/&gt;
		&lt;KeyWord name=&quot;Move-Template&quot;/&gt;
		&lt;KeyWord name=&quot;Move-VM&quot;/&gt;
		&lt;KeyWord name=&quot;Move-VMHost&quot;/&gt;
		&lt;KeyWord name=&quot;New-CDDrive&quot;/&gt;
		&lt;KeyWord name=&quot;New-Cluster&quot;/&gt;
		&lt;KeyWord name=&quot;New-CustomAttribute&quot;/&gt;
		&lt;KeyWord name=&quot;New-CustomField&quot;/&gt;
		&lt;KeyWord name=&quot;New-Datacenter&quot;/&gt;
		&lt;KeyWord name=&quot;New-Datastore&quot;/&gt;
		&lt;KeyWord name=&quot;New-DrsRule&quot;/&gt;
		&lt;KeyWord name=&quot;New-FloppyDrive&quot;/&gt;
		&lt;KeyWord name=&quot;New-Folder&quot;/&gt;
		&lt;KeyWord name=&quot;New-HardDisk&quot;/&gt;
		&lt;KeyWord name=&quot;New-IScsiHbaTarget&quot;/&gt;
		&lt;KeyWord name=&quot;New-NetworkAdapter&quot;/&gt;
		&lt;KeyWord name=&quot;New-OSCustomizationNicMapping&quot;/&gt;
		&lt;KeyWord name=&quot;New-OSCustomizationSpec&quot;/&gt;
		&lt;KeyWord name=&quot;New-PatchBaseline&quot;/&gt;
		&lt;KeyWord name=&quot;New-ResourcePool&quot;/&gt;
		&lt;KeyWord name=&quot;New-Snapshot&quot;/&gt;
		&lt;KeyWord name=&quot;New-StatInterval&quot;/&gt;
		&lt;KeyWord name=&quot;New-Template&quot;/&gt;
		&lt;KeyWord name=&quot;New-VApp&quot;/&gt;
		&lt;KeyWord name=&quot;New-VICredentialStoreItem&quot;/&gt;
		&lt;KeyWord name=&quot;New-VIPermission&quot;/&gt;
		&lt;KeyWord name=&quot;New-VIRole&quot;/&gt;
		&lt;KeyWord name=&quot;New-VM&quot;/&gt;
		&lt;KeyWord name=&quot;New-VMGuestRoute&quot;/&gt;
		&lt;KeyWord name=&quot;New-VMHostAccount&quot;/&gt;
		&lt;KeyWord name=&quot;New-VMHostNetworkAdapter&quot;/&gt;
		&lt;KeyWord name=&quot;New-VMHostProfile&quot;/&gt;
		&lt;KeyWord name=&quot;New-VirtualPortGroup&quot;/&gt;
		&lt;KeyWord name=&quot;New-VirtualSwitch&quot;/&gt;
		&lt;KeyWord name=&quot;Remediate-Inventory&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-Baseline&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-CDDrive&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-Cluster&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-CustomAttribute&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-CustomField&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-Datacenter&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-Datastore&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-DrsRule&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-FloppyDrive&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-Folder&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-HardDisk&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-IScsiHbaTarget&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-Inventory&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-NetworkAdapter&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-OSCustomizationNicMap...&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-OSCustomizationSpec&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-PassthroughDevice&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-ResourcePool&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-Snapshot&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-StatInterval&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-Template&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-UsbDevice&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VApp&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VICredentialStoreItem&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VIPermission&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VIRole&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VM&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VMGuestRoute&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VMHost&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VMHostAccount&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VMHostNetworkAdapter&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VMHostNtpServer&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VMHostProfile&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VirtualPortGroup&quot;/&gt;
		&lt;KeyWord name=&quot;Remove-VirtualSwitch&quot;/&gt;
		&lt;KeyWord name=&quot;Restart-VM&quot;/&gt;
		&lt;KeyWord name=&quot;Restart-VMGuest&quot;/&gt;
		&lt;KeyWord name=&quot;Restart-VMHost&quot;/&gt;
		&lt;KeyWord name=&quot;Restart-VMHostService&quot;/&gt;
		&lt;KeyWord name=&quot;Scan-Inventory&quot;/&gt;
		&lt;KeyWord name=&quot;Set-Annotation&quot;/&gt;
		&lt;KeyWord name=&quot;Set-CDDrive&quot;/&gt;
		&lt;KeyWord name=&quot;Set-Cluster&quot;/&gt;
		&lt;KeyWord name=&quot;Set-CustomAttribute&quot;/&gt;
		&lt;KeyWord name=&quot;Set-CustomField&quot;/&gt;
		&lt;KeyWord name=&quot;Set-Datacenter&quot;/&gt;
		&lt;KeyWord name=&quot;Set-Datastore&quot;/&gt;
		&lt;KeyWord name=&quot;Set-DrsRule&quot;/&gt;
		&lt;KeyWord name=&quot;Set-FloppyDrive&quot;/&gt;
		&lt;KeyWord name=&quot;Set-Folder&quot;/&gt;
		&lt;KeyWord name=&quot;Set-HardDisk&quot;/&gt;
		&lt;KeyWord name=&quot;Set-IScsiHbaTarget&quot;/&gt;
		&lt;KeyWord name=&quot;Set-NetworkAdapter&quot;/&gt;
		&lt;KeyWord name=&quot;Set-NicTeamingPolicy&quot;/&gt;
		&lt;KeyWord name=&quot;Set-OSCustomizationNicMapping&quot;/&gt;
		&lt;KeyWord name=&quot;Set-OSCustomizationSpec&quot;/&gt;
		&lt;KeyWord name=&quot;Set-PatchBaseline&quot;/&gt;
		&lt;KeyWord name=&quot;Set-PowerCLIConfiguration&quot;/&gt;
		&lt;KeyWord name=&quot;Set-ResourcePool&quot;/&gt;
		&lt;KeyWord name=&quot;Set-ScsiLun&quot;/&gt;
		&lt;KeyWord name=&quot;Set-ScsiLunPath&quot;/&gt;
		&lt;KeyWord name=&quot;Set-Snapshot&quot;/&gt;
		&lt;KeyWord name=&quot;Set-StatInterval&quot;/&gt;
		&lt;KeyWord name=&quot;Set-Template&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VApp&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VIPermission&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VIRole&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VM&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMGuestNetworkInterface&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMGuestRoute&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHost&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostAccount&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostAdvancedConfiguration&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostDiagnosticPartition&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostFirewallDefaultPolicy&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostFirewallException&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostFirmware&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostHba&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostModule&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostNetwork&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostNetworkAdapter&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostProfile&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostService&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostSnmp&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostStartPolicy&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostStorage&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMHostSysLogServer&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMQuestion&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMResourceConfiguration&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VMStartPolicy&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VirtualPortGroup&quot;/&gt;
		&lt;KeyWord name=&quot;Set-VirtualSwitch&quot;/&gt;
		&lt;KeyWord name=&quot;Shutdown-VMGuest&quot;/&gt;
		&lt;KeyWord name=&quot;Stage-Patch&quot;/&gt;
		&lt;KeyWord name=&quot;Start-VApp&quot;/&gt;
		&lt;KeyWord name=&quot;Start-VM&quot;/&gt;
		&lt;KeyWord name=&quot;Start-VMHost&quot;/&gt;
		&lt;KeyWord name=&quot;Start-VMHostService&quot;/&gt;
		&lt;KeyWord name=&quot;Stop-Task&quot;/&gt;
		&lt;KeyWord name=&quot;Stop-VApp&quot;/&gt;
		&lt;KeyWord name=&quot;Stop-VM&quot;/&gt;
		&lt;KeyWord name=&quot;Stop-VMHost&quot;/&gt;
		&lt;KeyWord name=&quot;Stop-VMHostService&quot;/&gt;
		&lt;KeyWord name=&quot;Suspend-VM&quot;/&gt;
		&lt;KeyWord name=&quot;Suspend-VMGuest&quot;/&gt;
		&lt;KeyWord name=&quot;Suspend-VMHost&quot;/&gt;
		&lt;KeyWord name=&quot;Test-VMHostProfileCompliance&quot;/&gt;
		&lt;KeyWord name=&quot;Test-VMHostSnmp&quot;/&gt;
		&lt;KeyWord name=&quot;Update-Tools&quot;/&gt;
		&lt;KeyWord name=&quot;Wait-Task &quot;/&gt;
	&lt;/AutoComplete&gt;
&lt;/NotepadPlus&gt;
</pre>
<br />Filed under: <a href='http://blog.koenvermoesen.be/category/powershell/'>PowerShell</a>, <a href='http://blog.koenvermoesen.be/category/tech/scripting/'>Scripting</a>, <a href='http://blog.koenvermoesen.be/category/tech/virtualization/'>Virtualization</a> Tagged: <a href='http://blog.koenvermoesen.be/tag/notepad/'>Notepad++</a>, <a href='http://blog.koenvermoesen.be/tag/powercli/'>PowerCLI</a>, <a href='http://blog.koenvermoesen.be/tag/powershell/'>PowerShell</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/k0v3.wordpress.com/1014/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/k0v3.wordpress.com/1014/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/k0v3.wordpress.com/1014/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/k0v3.wordpress.com/1014/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/k0v3.wordpress.com/1014/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/k0v3.wordpress.com/1014/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/k0v3.wordpress.com/1014/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/k0v3.wordpress.com/1014/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/k0v3.wordpress.com/1014/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/k0v3.wordpress.com/1014/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.koenvermoesen.be&blog=3561314&post=1014&subd=k0v3&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.koenvermoesen.be/2010/05/06/powercli-autocompletion-for-notepad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62aee00de3e0280aadbe38323469a9be?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">sak1n1</media:title>
		</media:content>
	</item>
		<item>
		<title>Powershell auto-completion for Notepad++</title>
		<link>http://blog.koenvermoesen.be/2008/05/08/powershell-auto-completion-for-notepad/</link>
		<comments>http://blog.koenvermoesen.be/2008/05/08/powershell-auto-completion-for-notepad/#comments</comments>
		<pubDate>Thu, 08 May 2008 09:06:37 +0000</pubDate>
		<dc:creator>Koen Vermoesen</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Notepad++]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://k0v3.wordpress.com/?p=12</guid>
		<description><![CDATA[I&#8217;ve been working on a PowerShell auto-completion file for my favorite lightweight text-editor (Notepad++) as I couldn&#8217;t find one online: powershell.xml Procedure: Install the PowerShell Language Definitions for Notepad++ (for syntax highlighting) and make sure it&#8217;s working (this is a prerequisite). Save the the file above in &#8220;C:\Program Files\Notepad++\plugins\APIs&#8221; Make sure the language is set [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.koenvermoesen.be&blog=3561314&post=12&subd=k0v3&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a PowerShell auto-completion file for my favorite lightweight text-editor (<a title="NPP" href="http://notepad-plus.sourceforge.net/uk/auto-completion-HOWTO.php" target="_blank">Notepad++</a>) as I couldn&#8217;t find one online: <a title="Powershell auto-completion for Notepad++" href="http://users.telenet.be/kove/Blog/powershell.xml">powershell.xml</a></p>
<p>Procedure:</p>
<ol>
<li>Install the <a title="PowerShell UserDefined.xml" href="http://weblogs.asp.net/jgalloway/archive/2006/11/25/powershell-language-definitions-for-notepad.aspx" target="_blank">PowerShell Language Definitions for Notepad++</a> (for syntax highlighting) and make sure it&#8217;s  working (this is a prerequisite).</li>
<li>Save the the file above in &#8220;C:\Program Files\Notepad++\plugins\APIs&#8221;</li>
<li>Make sure the language is set to powershell in your document.</li>
</ol>
<p><a href="http://k0v3.files.wordpress.com/2008/05/npp_ps-autocompletion.png"><img class="aligncenter size-thumbnail wp-image-25" src="http://k0v3.files.wordpress.com/2008/05/npp_ps-autocompletion.png?w=139&#038;h=96" alt="npp language selection" width="139" height="96" /></a></p>
<p>Note: You might want to have a look at the <a title="NPP Auto-completion how to" href="http://notepad-plus.sourceforge.net/uk/auto-completion-HOWTO.php" target="_blank">Notepad++ Auto-completion HOWTO</a> for more details about this feature.</p>
<p>The auto-complete features of npp are not the most powerful though. It seems to work perfectly if you hit CTRL+SPACE before the dash. If you try after the dash it seems to forget about the verb in a PS-cmdlet. Even the builtin languages like LISP sport the same behaviour. The underscore characters in the WMI-class names and the &#8220;about&#8221; pages do not pose a problem.</p>
<p>*Update 2009-01-29 Npp has switched to the xml format for the autocompletion files. I&#8217;ve uploaded an xml version of the previous file to some other webspace (= no renaming anymore) and update the post accordingly.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/k0v3.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/k0v3.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/k0v3.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/k0v3.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/k0v3.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/k0v3.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/k0v3.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/k0v3.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/k0v3.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/k0v3.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/k0v3.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/k0v3.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.koenvermoesen.be&blog=3561314&post=12&subd=k0v3&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.koenvermoesen.be/2008/05/08/powershell-auto-completion-for-notepad/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f646bcfc3f7534b20fa79e0347353eb?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">k0v3</media:title>
		</media:content>

		<media:content url="http://k0v3.files.wordpress.com/2008/05/npp_ps-autocompletion.png?w=139" medium="image">
			<media:title type="html">npp language selection</media:title>
		</media:content>
	</item>
	</channel>
</rss>