{"id":421,"date":"2008-04-30T09:28:27","date_gmt":"2008-04-30T17:28:27","guid":{"rendered":"http:\/\/www.sapien.com\/blog\/2008\/04\/30\/use-powershell-in-your-vbscript-code\/"},"modified":"2008-04-30T09:28:27","modified_gmt":"2008-04-30T17:28:27","slug":"use-powershell-in-your-vbscript-code","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2008\/04\/30\/use-powershell-in-your-vbscript-code\/","title":{"rendered":"Use PowerShell in your VBScript code"},"content":{"rendered":"<p>&nbsp;Are you a VBScript user looking to leverage some of PowerShell&#8217;s cool new capabilities &#8211; but aren&#8217;t ready to move entirely to PowerShell? Perhaps you have an older VBScript that needs some minor new functionality that you just KNOW would be easier in PowerShell &#8211; but you don&#8217;t have time to convert the entire script?<\/p>\n<p>If you have PrimalScript 2007&#8217;s latest service release (build 566), then you&#8217;ve got &quot;PrimalToys,&quot; a set of add-in COM components (look in PrimalScript&#8217;s installation folder to find the PrimalToys installer). And PrimalToys now includes &quot;ActivePoSH,&quot; a new VBScript-accessible COM object that allows you to execute PowerShell code and get the results back as text &#8211; which can then be used elsewhere in your VBScript.<\/p>\n<p>This is one of the many new items available in Build 566 of PrimalScript 2007 &#8211; check out our <a href=\"http:\/\/support.sapien.com\">change log<\/a> for more!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;Are you a VBScript user looking to leverage some of PowerShell&#8217;s cool new capabilities &#8211; but aren&#8217;t ready to move entirely to PowerShell? Perhaps you have an older VBScript that needs some minor new functionality that you just KNOW would be easier in PowerShell &#8211; but you don&#8217;t have time to convert the entire script? [&hellip;]<\/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":[21,24,25],"tags":[28,996],"class_list":["post-421","post","type-post","status-publish","format-standard","hentry","category-software-news","category-vbscript","category-windows-powershell","tag-powershell","tag-vbscript"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/421","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=421"}],"version-history":[{"count":0,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/421\/revisions"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}