{"id":119,"date":"2007-05-03T19:58:26","date_gmt":"2007-05-04T03:58:26","guid":{"rendered":"http:\/\/testblog.sapien.com\/index.php\/2007\/05\/03\/sapiens-powershell-extensions-updated\/"},"modified":"2007-05-03T19:58:26","modified_gmt":"2007-05-04T03:58:26","slug":"sapiens-powershell-extensions-updated","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2007\/05\/03\/sapiens-powershell-extensions-updated\/","title":{"rendered":"SAPIEN&#8217;s PowerShell Extensions &#8211; Updated"},"content":{"rendered":"<p>I&#8217;ve posted a new version of what I&#8217;m now calling &#8220;SAPIEN Extensions for Windows PowerShell,&#8221; or &#8220;PshX-SAPIEN&#8221; for short (this was formerly &#8220;PrimalToys for PowerShell,&#8221; but that name was causing some confusion since we also have an unrelated&nbsp;collection of COM components called PrimalToys). The new version changes the way the Ping-Computer cmdlet works, modifies Write-Speech to accept pipeline input, and updates everything (I hope) to use the new name for the snap-in.<\/p>\n<p>If you have the old version, I suggest de-registering it. In the v2.0.xxxx folder under \\Windows\\Microsoft.NET\\Framework, you&#8217;ll find InstallUtil.exe. Run it with the \/u switch, giving it the path to the old PrimalToys.dll file:<\/p>\n<p>installutil \/u &#8220;path to dll file&#8221;<\/p>\n<p>Then, copy in the new PshX-SAPIEN.dll file (<a href=\"http:\/\/www.primalscript.com\/freetools\">www.primalscript.com\/freetools<\/a>). Run InstallUtil.exe again, this time without the \/u switch:<\/p>\n<p>installutil &#8220;path to new dll file&#8221;<\/p>\n<p>And that should do it. Installation instructions are in an accompanying Word doc. Go to <a href=\"http:\/\/www.sapien.com\/support.asp\">www.sapien.com\/support.asp<\/a> (in the &#8220;Free Tools Support&#8221; forum) for technical support. Note that I&#8217;m still not providing a PowerShell help file (and won&#8217;t until Microsoft releases a help file authoring tool &#8211; the help file XML format is insanely complicated), so the Get-Help cmdlet won&#8217;t pull up help for the PshX-SAPIEN cmdlets. However, they&#8217;re all documented in the Word doc that accompanies the DLL.<\/p>\n<p>Enjoy! BTW, I&#8217;d love some comments or forum posts on additional cmdlets you&#8217;d like to see implemented. Costs you nothing!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve posted a new version of what I&#8217;m now calling &#8220;SAPIEN Extensions for Windows PowerShell,&#8221; or &#8220;PshX-SAPIEN&#8221; for short (this was formerly &#8220;PrimalToys for PowerShell,&#8221; but that name was causing some confusion since we also have an unrelated collection of COM components called PrimalToys). The new version changes the way the Ping-Computer cmdlet works, modifies Write-Speech to accept pipeline input, and updates everything (I hope) to use the new name for the snap-in.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-119","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":0,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/119\/revisions"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}