{"id":845,"date":"2008-11-10T07:45:19","date_gmt":"2008-11-10T15:45:19","guid":{"rendered":"http:\/\/www.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/"},"modified":"2008-11-10T07:45:19","modified_gmt":"2008-11-10T15:45:19","slug":"primalscript-samples","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/","title":{"rendered":"PrimalScript Samples"},"content":{"rendered":"<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2008\/11\/primalscript-samples.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 5px; border-right-width: 0px\" height=\"244\" alt=\"primalscript-samples\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2008\/11\/primalscript-samples-thumb.png\" width=\"94\" align=\"left\" border=\"0\"><\/a>  <\/p>\n<p>Here&#8217;s another tidbit about <a href=\"http:\/\/www.primalscript.com\" target=\"_blank\">PrimalScript<\/a> that you may not be aware of.&nbsp; Not only does PrimalScript offer a large number of code snippets that you can drag and drop into your scripting or development project, but it also includes a large number of complete sample scripts. <\/p>\n<p>These scripts are written in a variety of languages and cover a variety of topics. There are complete HTML application (HTA) files for managing Exchange 2003, VBS scripts to enumerate service accounts and move a file, and PowerShell scripts to modify the registry, to name just a few. <\/p>\n<p>You should be able to use these script samples as jumping off points for your own projects or as learning tools for different languages, techniques and technologies. You can find the files by opening the Samples Browser panel. If you can&#8217;t find the panel in PrimalScript, select View &#8211; Browser Panels from the menu to open it.&nbsp; <\/p>\n<p>I hope you find these samples useful. Of course, please use the forums at <a href=\"http:\/\/www.scriptinganswers.com\" target=\"_blank\">ScriptingAnswers.com<\/a> for help in all your scripting projects.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s another tidbit about PrimalScript that you may not be aware of.  Not only does PrimalScript offer a large number of code snippets that you can drag and drop into your scripting or development project, but it also includes a large number of complete sample scripts.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2,21,24,25],"tags":[401,280,50,402,28,37,191,57,996,35],"class_list":["post-845","post","type-post","status-publish","format-standard","hentry","category-general","category-software-news","category-vbscript","category-windows-powershell","tag-net","tag-adsi","tag-exchange","tag-hta","tag-powershell","tag-primalscript","tag-sapien","tag-scripting","tag-vbscript","tag-wmi"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Here&#039;s another tidbit about PrimalScript that you may not be aware of. Not only does PrimalScript offer a large number of code snippets that you can drag and drop into your scripting or development project, but it also includes a large number of complete sample scripts.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Jeffery Hicks\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"DEV SAPIEN Blog - Tools for IT Success\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"PrimalScript Samples - DEV SAPIEN Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Here&#039;s another tidbit about PrimalScript that you may not be aware of. Not only does PrimalScript offer a large number of code snippets that you can drag and drop into your scripting or development project, but it also includes a large number of complete sample scripts.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2008-11-10T15:45:19+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2008-11-10T15:45:19+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"PrimalScript Samples - DEV SAPIEN Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Here&#039;s another tidbit about PrimalScript that you may not be aware of. Not only does PrimalScript offer a large number of code snippets that you can drag and drop into your scripting or development project, but it also includes a large number of complete sample scripts.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2008\\\/11\\\/10\\\/primalscript-samples\\\/#blogposting\",\"name\":\"PrimalScript Samples - DEV SAPIEN Blog\",\"headline\":\"PrimalScript Samples\",\"author\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/jeffery-hicks\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/www.sapien.com\\\/blog\\\/wp-content\\\/uploads\\\/2008\\\/11\\\/primalscript-samples-thumb.png\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2008\\\/11\\\/10\\\/primalscript-samples\\\/#articleImage\"},\"datePublished\":\"2008-11-10T07:45:19-08:00\",\"dateModified\":\"2008-11-10T07:45:19-08:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2008\\\/11\\\/10\\\/primalscript-samples\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2008\\\/11\\\/10\\\/primalscript-samples\\\/#webpage\"},\"articleSection\":\"General, Software News, VBScript, Windows PowerShell, .NET, ADSI, exchange, HTA, powershell, PrimalScript, SAPIEN, scripting, VBScript, wmi\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2008\\\/11\\\/10\\\/primalscript-samples\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/general\\\/#listItem\",\"name\":\"General\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/general\\\/#listItem\",\"position\":2,\"name\":\"General\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/general\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2008\\\/11\\\/10\\\/primalscript-samples\\\/#listItem\",\"name\":\"PrimalScript Samples\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2008\\\/11\\\/10\\\/primalscript-samples\\\/#listItem\",\"position\":3,\"name\":\"PrimalScript Samples\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/general\\\/#listItem\",\"name\":\"General\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\",\"name\":\"DEV SAPIEN Blog\",\"description\":\"Tools for IT Success\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/jeffery-hicks\\\/#author\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/jeffery-hicks\\\/\",\"name\":\"Jeffery Hicks\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2008\\\/11\\\/10\\\/primalscript-samples\\\/#webpage\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2008\\\/11\\\/10\\\/primalscript-samples\\\/\",\"name\":\"PrimalScript Samples - DEV SAPIEN Blog\",\"description\":\"Here's another tidbit about PrimalScript that you may not be aware of. Not only does PrimalScript offer a large number of code snippets that you can drag and drop into your scripting or development project, but it also includes a large number of complete sample scripts.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2008\\\/11\\\/10\\\/primalscript-samples\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/jeffery-hicks\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/jeffery-hicks\\\/#author\"},\"datePublished\":\"2008-11-10T07:45:19-08:00\",\"dateModified\":\"2008-11-10T07:45:19-08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/\",\"name\":\"DEV SAPIEN Blog\",\"description\":\"Tools for IT Success\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"PrimalScript Samples - DEV SAPIEN Blog","description":"Here's another tidbit about PrimalScript that you may not be aware of. Not only does PrimalScript offer a large number of code snippets that you can drag and drop into your scripting or development project, but it also includes a large number of complete sample scripts.","canonical_url":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/#blogposting","name":"PrimalScript Samples - DEV SAPIEN Blog","headline":"PrimalScript Samples","author":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/jeffery-hicks\/#author"},"publisher":{"@id":"https:\/\/dev.sapien.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2008\/11\/primalscript-samples-thumb.png","@id":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/#articleImage"},"datePublished":"2008-11-10T07:45:19-08:00","dateModified":"2008-11-10T07:45:19-08:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/#webpage"},"isPartOf":{"@id":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/#webpage"},"articleSection":"General, Software News, VBScript, Windows PowerShell, .NET, ADSI, exchange, HTA, powershell, PrimalScript, SAPIEN, scripting, VBScript, wmi"},{"@type":"BreadcrumbList","@id":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/dev.sapien.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/general\/#listItem","name":"General"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/general\/#listItem","position":2,"name":"General","item":"https:\/\/dev.sapien.com\/blog\/topics\/general\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/#listItem","name":"PrimalScript Samples"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/#listItem","position":3,"name":"PrimalScript Samples","previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/general\/#listItem","name":"General"}}]},{"@type":"Organization","@id":"https:\/\/dev.sapien.com\/blog\/#organization","name":"DEV SAPIEN Blog","description":"Tools for IT Success","url":"https:\/\/dev.sapien.com\/blog\/"},{"@type":"Person","@id":"https:\/\/dev.sapien.com\/blog\/author\/jeffery-hicks\/#author","url":"https:\/\/dev.sapien.com\/blog\/author\/jeffery-hicks\/","name":"Jeffery Hicks"},{"@type":"WebPage","@id":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/#webpage","url":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/","name":"PrimalScript Samples - DEV SAPIEN Blog","description":"Here's another tidbit about PrimalScript that you may not be aware of. Not only does PrimalScript offer a large number of code snippets that you can drag and drop into your scripting or development project, but it also includes a large number of complete sample scripts.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/dev.sapien.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/#breadcrumblist"},"author":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/jeffery-hicks\/#author"},"creator":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/jeffery-hicks\/#author"},"datePublished":"2008-11-10T07:45:19-08:00","dateModified":"2008-11-10T07:45:19-08:00"},{"@type":"WebSite","@id":"https:\/\/dev.sapien.com\/blog\/#website","url":"https:\/\/dev.sapien.com\/blog\/","name":"DEV SAPIEN Blog","description":"Tools for IT Success","inLanguage":"en-US","publisher":{"@id":"https:\/\/dev.sapien.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"DEV SAPIEN Blog - Tools for IT Success","og:type":"article","og:title":"PrimalScript Samples - DEV SAPIEN Blog","og:description":"Here's another tidbit about PrimalScript that you may not be aware of. Not only does PrimalScript offer a large number of code snippets that you can drag and drop into your scripting or development project, but it also includes a large number of complete sample scripts.","og:url":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/","article:published_time":"2008-11-10T15:45:19+00:00","article:modified_time":"2008-11-10T15:45:19+00:00","twitter:card":"summary_large_image","twitter:title":"PrimalScript Samples - DEV SAPIEN Blog","twitter:description":"Here's another tidbit about PrimalScript that you may not be aware of. Not only does PrimalScript offer a large number of code snippets that you can drag and drop into your scripting or development project, but it also includes a large number of complete sample scripts."},"aioseo_meta_data":{"post_id":"845","title":null,"description":null,"keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-08-28 14:31:57","updated":"2026-08-28 14:31:57"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\/topics\/general\/\" title=\"General\">General<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPrimalScript Samples\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/dev.sapien.com\/blog"},{"label":"General","link":"https:\/\/dev.sapien.com\/blog\/topics\/general\/"},{"label":"PrimalScript Samples","link":"https:\/\/dev.sapien.com\/blog\/2008\/11\/10\/primalscript-samples\/"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/845","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=845"}],"version-history":[{"count":0,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/845\/revisions"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}