{"id":4883,"date":"2012-10-16T05:00:00","date_gmt":"2012-10-16T13:00:00","guid":{"rendered":"http:\/\/www.sapien.com\/blog\/?p=4883"},"modified":"2012-10-16T08:11:42","modified_gmt":"2012-10-16T16:11:42","slug":"developing-powershell-scripts-for-other-machines-part-2","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/","title":{"rendered":"Developing PowerShell scripts for other machines (Part 2)"},"content":{"rendered":"<p>Yesterday we showed you how to export the cache information on a remote machine. Today we go through the steps to actually use that information. Remember that we exported the cache file on that Windows 2008R2 machine as \u201cWIN2008R2TESTVM.CacheExport\u201d. Let\u2019s assume we put that file on the desktop of your local machine.<\/p>\n<p>Now fire up PrimalScript 2012 and select \u201cImport Remote Cache\u201d from the Platform group on the Home tab:<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/image10.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border-width: 0px;\" title=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/image_thumb9.png\" alt=\"image\" width=\"368\" height=\"229\" border=\"0\" \/><\/a><\/p>\n<p>Select the cache export file on your desktop.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/SNAGHTML11e73a8d.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border-width: 0px;\" title=\"SNAGHTML11e73a8d\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/SNAGHTML11e73a8d_thumb.png\" alt=\"SNAGHTML11e73a8d\" width=\"518\" height=\"268\" border=\"0\" \/><\/a><\/p>\n<p>Select the appropriate choices for your remote connections. Depending on your selection some of the following options may not be available to you. For our example here we select Windows Remoting. If you plan on using Windows Remoting to run scripts on this machine you may have to provide a valid user id and password for that computer.<\/p>\n<p>If you are using\u00a0 RSEE (Remote Script Execution Engine) to connect to the remote machine no credentials are necessary. If you plan on just running or testing script on that remote machine and you already have Windows Remoting working, there is no need to install RSEE there. If on the other hand Windows Remoting is not an option or you need to debug on that remote computer, installing the RSEE service on the target machine is recommended.<\/p>\n<p>Once you have the cache information imported you can select the machine from the platform combo box:<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/image11.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border-width: 0px;\" title=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/image_thumb10.png\" alt=\"image\" width=\"302\" height=\"237\" border=\"0\" \/><\/a><\/p>\n<p>Once you have selected this other machine as your target environment you will see cmdlets colored according to what exists on this machine but not your local computer. PrimalSense will also only show what is available on the remote computer. If you open the PowerShell part of the object browser you will also see the cmdlets, aliases and modules on the remote machine:<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/image12.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border-width: 0px;\" title=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/image_thumb11.png\" alt=\"image\" width=\"274\" height=\"453\" border=\"0\" \/><\/a><\/p>\n<p>If you selected Windows Remoting as the remote connection to this other machine you can use the Remote console button to open a console to that machine. That console can come in hand to verify that scripts you ran did the right thing and conditions are what you expect them to be.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/image13.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border-width: 0px;\" title=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/image_thumb12.png\" alt=\"image\" width=\"343\" height=\"181\" border=\"0\" \/><\/a><\/p>\n<p>The first time you click that button a new console will be added to your list of embedded consoles. You can always use this button to bring up the corresponding console for your target machine. Additionally you can also select the remote console from the list even if you are using your local machine or some other computer as target.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/image14.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border-width: 0px;\" title=\"image\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/image_thumb13.png\" alt=\"image\" width=\"564\" height=\"292\" border=\"0\" \/><\/a><\/p>\n<p>So when you run your script (Ctrl+F5) it uses Windows Remoting, RSEE or your local machine, depending on what you have specified.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/SNAGHTML11f1002d.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border-width: 0px;\" title=\"SNAGHTML11f1002d\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/SNAGHTML11f1002d_thumb.png\" alt=\"SNAGHTML11f1002d\" width=\"644\" height=\"435\" border=\"0\" \/><\/a><\/p>\n<p>Both Windows Remoting and RSEE use the highest available endpoint when running a script remotely. That means that even if you don\u2019t have PowerShell V3 installed locally, it will run in V3 on the remote machine.<br \/>\nLikewise, if you have a 32 bit machine and the remote machine is 64 bit your script will execute in a 64 bit PowerShell instance. (RSEE depends on whether you installed the 32 bit or 64 bit version of the service.)<\/p>\n<p>So, now you can edit and run scripts against your servers from the comfort of your own computer. Next time we talk about remote debugging and different PowerShell versions.<\/p>\n<p>This feature requires PrimalScript 2012 6.5.132 or higher.<br \/>\nThis will also be supported in PowerShellStudio 2012 3.1.9 or higher<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday we showed you how to export the cache information on a remote machine. Today we go through the steps to actually use that information. Remember that we exported the cache file on that Windows 2008R2 machine as \u201cWIN2008R2TESTVM.CacheExport\u201d. Let\u2019s assume we put that file on the desktop of your local machine. Now fire up [&hellip;]<\/p>\n","protected":false},"author":5,"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":[705,410,21,25],"tags":[763,28,1016,37,762,574,573,236,756],"class_list":["post-4883","post","type-post","status-publish","format-standard","hentry","category-powershell-studio-2012","category-primalscript-software-news","category-software-news","category-windows-powershell","tag-import-cache","tag-powershell","tag-powershell-studio","tag-primalscript","tag-remote-shell","tag-remoting","tag-rsee","tag-shell","tag-v3"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Yesterday we showed you how to export the cache information on a remote machine. Today we go through the steps to actually use that information. Remember that we exported the cache file on that Windows 2008R2 machine as \u201cWIN2008R2TESTVM.CacheExport\u201d. Let\u2019s assume we put that file on the desktop of your local machine. Now fire up\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alex Riedel\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/\" \/>\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=\"Developing PowerShell scripts for other machines (Part 2) - DEV SAPIEN Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Yesterday we showed you how to export the cache information on a remote machine. Today we go through the steps to actually use that information. Remember that we exported the cache file on that Windows 2008R2 machine as \u201cWIN2008R2TESTVM.CacheExport\u201d. Let\u2019s assume we put that file on the desktop of your local machine. Now fire up\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-10-16T13:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2012-10-16T16:11:42+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Developing PowerShell scripts for other machines (Part 2) - DEV SAPIEN Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Yesterday we showed you how to export the cache information on a remote machine. Today we go through the steps to actually use that information. Remember that we exported the cache file on that Windows 2008R2 machine as \u201cWIN2008R2TESTVM.CacheExport\u201d. Let\u2019s assume we put that file on the desktop of your local machine. Now fire up\" \/>\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\\\/2012\\\/10\\\/16\\\/developing-powershell-scripts-for-other-machines-part-2\\\/#blogposting\",\"name\":\"Developing PowerShell scripts for other machines (Part 2) - DEV SAPIEN Blog\",\"headline\":\"Developing PowerShell scripts for other machines (Part 2)\",\"author\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/alexander-riedel\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/www.sapien.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/09\\\/image_thumb9.png\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2012\\\/10\\\/16\\\/developing-powershell-scripts-for-other-machines-part-2\\\/#articleImage\"},\"datePublished\":\"2012-10-16T05:00:00-07:00\",\"dateModified\":\"2012-10-16T08:11:42-07:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2012\\\/10\\\/16\\\/developing-powershell-scripts-for-other-machines-part-2\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2012\\\/10\\\/16\\\/developing-powershell-scripts-for-other-machines-part-2\\\/#webpage\"},\"articleSection\":\"PowerShell Studio 2012, PrimalScript, Software News, Windows PowerShell, Import Cache, powershell, PowerShell Studio, PrimalScript, Remote Shell, Remoting, RSEE, Shell, V3\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2012\\\/10\\\/16\\\/developing-powershell-scripts-for-other-machines-part-2\\\/#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\\\/software-news\\\/#listItem\",\"name\":\"Software News\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"position\":2,\"name\":\"Software News\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/primalscript-software-news\\\/#listItem\",\"name\":\"PrimalScript\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/primalscript-software-news\\\/#listItem\",\"position\":3,\"name\":\"PrimalScript\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/primalscript-software-news\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2012\\\/10\\\/16\\\/developing-powershell-scripts-for-other-machines-part-2\\\/#listItem\",\"name\":\"Developing PowerShell scripts for other machines (Part 2)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"name\":\"Software News\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2012\\\/10\\\/16\\\/developing-powershell-scripts-for-other-machines-part-2\\\/#listItem\",\"position\":4,\"name\":\"Developing PowerShell scripts for other machines (Part 2)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/primalscript-software-news\\\/#listItem\",\"name\":\"PrimalScript\"}}]},{\"@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\\\/alexander-riedel\\\/#author\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/alexander-riedel\\\/\",\"name\":\"Alex Riedel\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2012\\\/10\\\/16\\\/developing-powershell-scripts-for-other-machines-part-2\\\/#webpage\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2012\\\/10\\\/16\\\/developing-powershell-scripts-for-other-machines-part-2\\\/\",\"name\":\"Developing PowerShell scripts for other machines (Part 2) - DEV SAPIEN Blog\",\"description\":\"Yesterday we showed you how to export the cache information on a remote machine. Today we go through the steps to actually use that information. Remember that we exported the cache file on that Windows 2008R2 machine as \\u201cWIN2008R2TESTVM.CacheExport\\u201d. Let\\u2019s assume we put that file on the desktop of your local machine. Now fire up\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2012\\\/10\\\/16\\\/developing-powershell-scripts-for-other-machines-part-2\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/alexander-riedel\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/alexander-riedel\\\/#author\"},\"datePublished\":\"2012-10-16T05:00:00-07:00\",\"dateModified\":\"2012-10-16T08:11:42-07: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":"Developing PowerShell scripts for other machines (Part 2) - DEV SAPIEN Blog","description":"Yesterday we showed you how to export the cache information on a remote machine. Today we go through the steps to actually use that information. Remember that we exported the cache file on that Windows 2008R2 machine as \u201cWIN2008R2TESTVM.CacheExport\u201d. Let\u2019s assume we put that file on the desktop of your local machine. Now fire up","canonical_url":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/#blogposting","name":"Developing PowerShell scripts for other machines (Part 2) - DEV SAPIEN Blog","headline":"Developing PowerShell scripts for other machines (Part 2)","author":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/alexander-riedel\/#author"},"publisher":{"@id":"https:\/\/dev.sapien.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2012\/09\/image_thumb9.png","@id":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/#articleImage"},"datePublished":"2012-10-16T05:00:00-07:00","dateModified":"2012-10-16T08:11:42-07:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/#webpage"},"isPartOf":{"@id":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/#webpage"},"articleSection":"PowerShell Studio 2012, PrimalScript, Software News, Windows PowerShell, Import Cache, powershell, PowerShell Studio, PrimalScript, Remote Shell, Remoting, RSEE, Shell, V3"},{"@type":"BreadcrumbList","@id":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/#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\/software-news\/#listItem","name":"Software News"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","position":2,"name":"Software News","item":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/primalscript-software-news\/#listItem","name":"PrimalScript"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/primalscript-software-news\/#listItem","position":3,"name":"PrimalScript","item":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/primalscript-software-news\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/#listItem","name":"Developing PowerShell scripts for other machines (Part 2)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","name":"Software News"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/#listItem","position":4,"name":"Developing PowerShell scripts for other machines (Part 2)","previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/primalscript-software-news\/#listItem","name":"PrimalScript"}}]},{"@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\/alexander-riedel\/#author","url":"https:\/\/dev.sapien.com\/blog\/author\/alexander-riedel\/","name":"Alex Riedel"},{"@type":"WebPage","@id":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/#webpage","url":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/","name":"Developing PowerShell scripts for other machines (Part 2) - DEV SAPIEN Blog","description":"Yesterday we showed you how to export the cache information on a remote machine. Today we go through the steps to actually use that information. Remember that we exported the cache file on that Windows 2008R2 machine as \u201cWIN2008R2TESTVM.CacheExport\u201d. Let\u2019s assume we put that file on the desktop of your local machine. Now fire up","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/dev.sapien.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/#breadcrumblist"},"author":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/alexander-riedel\/#author"},"creator":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/alexander-riedel\/#author"},"datePublished":"2012-10-16T05:00:00-07:00","dateModified":"2012-10-16T08:11:42-07: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":"Developing PowerShell scripts for other machines (Part 2) - DEV SAPIEN Blog","og:description":"Yesterday we showed you how to export the cache information on a remote machine. Today we go through the steps to actually use that information. Remember that we exported the cache file on that Windows 2008R2 machine as \u201cWIN2008R2TESTVM.CacheExport\u201d. Let\u2019s assume we put that file on the desktop of your local machine. Now fire up","og:url":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/","article:published_time":"2012-10-16T13:00:00+00:00","article:modified_time":"2012-10-16T16:11:42+00:00","twitter:card":"summary_large_image","twitter:title":"Developing PowerShell scripts for other machines (Part 2) - DEV SAPIEN Blog","twitter:description":"Yesterday we showed you how to export the cache information on a remote machine. Today we go through the steps to actually use that information. Remember that we exported the cache file on that Windows 2008R2 machine as \u201cWIN2008R2TESTVM.CacheExport\u201d. Let\u2019s assume we put that file on the desktop of your local machine. Now fire up"},"aioseo_meta_data":{"post_id":"4883","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 15:08:00","updated":"2026-08-28 15:08:00"},"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\/software-news\/\" title=\"Software News\">Software News<\/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\/software-news\/primalscript-software-news\/\" title=\"PrimalScript\">PrimalScript<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDeveloping PowerShell scripts for other machines (Part 2)\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/dev.sapien.com\/blog"},{"label":"Software News","link":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/"},{"label":"PrimalScript","link":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/primalscript-software-news\/"},{"label":"Developing PowerShell scripts for other machines (Part 2)","link":"https:\/\/dev.sapien.com\/blog\/2012\/10\/16\/developing-powershell-scripts-for-other-machines-part-2\/"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/4883","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=4883"}],"version-history":[{"count":4,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/4883\/revisions"}],"predecessor-version":[{"id":5378,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/4883\/revisions\/5378"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=4883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=4883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=4883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}