{"id":877,"date":"2008-12-02T09:00:23","date_gmt":"2008-12-02T17:00:23","guid":{"rendered":"http:\/\/www.sapien.com\/blog\/2008\/12\/02\/objects-in-motion\/"},"modified":"2008-12-05T22:25:35","modified_gmt":"2008-12-06T06:25:35","slug":"objects-in-motion","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2008\/12\/02\/objects-in-motion\/","title":{"rendered":"Objects in motion"},"content":{"rendered":"<p>Writing scripts to automate administrative tasks can be challenging. Not only do you need to master the particular scripting language you intend to use, you also need to find the right object and technology for the task at hand.<\/p>\n<p>PrimalScript 2009 makes the development cycle of Discovery &#8211; Experimentation &#8211; Implementation that most script authors use much more efficient.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" style=\"border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 5px 5px 0px; border-right-width: 0px\" height=\"104\" alt=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2008\/11\/image.png\" width=\"208\" align=\"left\" border=\"0\"><\/p>\n<p>The new object browser in PrimalScript 2009 gives you access to the most commonly used type of objects; COM, PowerShell Cmdlets, WMI and the .NET framework. Each of these nodes shows the underlying objects in an organized, easy to understand way.<\/p>\n<p>In this example you see the presentation of&nbsp; PowerShell<a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2008\/11\/image1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 0px 5px 5px; border-right-width: 0px\" height=\"244\" alt=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2008\/11\/image-thumb.png\" width=\"198\" align=\"right\" border=\"0\"><\/a> Cmdlets&nbsp; organized by verb or by SnapIn, along with other important PowerShell items, like Aliases and About articles.<\/p>\n<p>You can simply right click on any of these and look at the online help, or Google for additional information or simply copy the name of the item to the clipboard.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2008\/11\/image2.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px\" height=\"101\" alt=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2008\/11\/image-thumb1.png\" width=\"244\" border=\"0\"><\/a><\/p>\n<p>But most importantly you can also drag and drop a Cmdlet to the built-in PowerShell instance and start experimenting with it:<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2008\/12\/image12.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"391\" alt=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2008\/12\/image12-thumb.png\" width=\"644\" border=\"0\"><\/a><\/p>\n<p>Once you have fine tuned your exact call or expression for a Cmdlet, you can simply select and drag the completed code to your script file.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2008\/12\/image16.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"391\" alt=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2008\/12\/image16-thumb.png\" width=\"644\" border=\"0\"><\/a><\/p>\n<p>In future blog posts we will show you how the new object browser can help you discover other objects and their uses easily and quickly; all from one single location within PrimalScript 2009.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Writing scripts to automate administrative tasks can be challenging. Not only do you need to master the particular scripting language you intend to use, you also need to find the right object and technology for the task at hand. PrimalScript 2009 makes the development cycle of Discovery &#8211; Experimentation &#8211; Implementation that most script authors [&hellip;]<\/p>\n","protected":false},"author":5,"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":[176,21,25,26],"tags":[149,82,28,37],"class_list":["post-877","post","type-post","status-publish","format-standard","hentry","category-sneak-peeks-at-the-next-version-of-primalscript","category-software-news","category-windows-powershell","category-windows-scripting-news","tag-cmdlets","tag-objects","tag-powershell","tag-primalscript"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/877","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\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=877"}],"version-history":[{"count":6,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/877\/revisions"}],"predecessor-version":[{"id":881,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/877\/revisions\/881"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}