{"id":3929,"date":"2019-02-11T21:40:06","date_gmt":"2019-02-11T21:40:06","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=3929"},"modified":"2019-02-11T21:40:06","modified_gmt":"2019-02-11T21:40:06","slug":"how-to-diagnose-issues-with-powershell-scripts-running-in-intune","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune","title":{"rendered":"How to diagnose issues with Powershell Scripts Running in Intune"},"content":{"rendered":"<p><a href=\"https:\/\/oliverkieselbach.com\/2017\/11\/29\/deep-dive-microsoft-intune-management-extension-powershell-scripts\/\">Following on from this great article<\/a><\/p><p>The Powershell Script History and logs are stored in the following registry location<\/p><p>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\IntuneManagementExtension\\Policies<\/p><p>You will need to navigate to a subtree in their GUID<\/p><p id=\"LUFAoqL\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"199\" class=\"alignnone size-full wp-image-3932  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61e930d29b2.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61e930d29b2.png 324w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61e930d29b2-300x184.png 300w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/p><h3><strong>How do I get the GUID for my Intune Script?<\/strong><\/h3><p id=\"nVvWfAE\"><img loading=\"lazy\" decoding=\"async\" width=\"1204\" height=\"106\" class=\"alignnone size-full wp-image-3934  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61ea04e1230.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61ea04e1230.png 1204w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61ea04e1230-300x26.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61ea04e1230-768x68.png 768w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61ea04e1230-1024x90.png 1024w\" sizes=\"auto, (max-width: 1204px) 100vw, 1204px\" \/><\/p><h2>Diagnosing Failures<\/h2><p>A result was coming Failed with the below<\/p><pre>\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$ : The term '\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$' is not recognized as the name of a cmdlet, function, script file, or operable program. <br \/>Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<br \/>At C:\\Program Files (x86)\\Microsoft Intune Management <br \/>Extension\\Policies\\Scripts\\ee7f18e5-b666-4c11-be72-9d5490a49e23_a39275a0-659c-45a9-9f1a-d312ae484eda.ps1:1 char:1<br \/>+ \u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$<\/pre><p>On running the scripts get copied here briefly then run and deleted :\u00a0C:\\Program Files (x86)\\Microsoft Intune Management Extension\\Policies\\Scripts<\/p><p>You have to be fast but you can copy the .ps1 file to e.g. C:\\Temp and check what the machine was getting ,\u00a0to resolve this issue I had to recopy the file into Powershell ISE and resave and upload.<\/p><p id=\"nVvWfAE\">\u00a0<\/p><h3><strong>How to Run the Scripts Manually<\/strong><\/h3><p>Change\u00a0<strong>DownloadCount<\/strong>and\u00a0<strong>ErrorCode<\/strong>\u00a0to\u00a0<strong>0<\/strong>\u00a0and set\u00a0<strong>Result<\/strong>\u00a0and\u00a0<strong>ResultDetails<\/strong>\u00a0to\u00a0<strong>nothing<\/strong>\u00a0(empty string). After this we just restart the Microsoft Intune Management Extension Service (IntuneManagementExtension) and the script will rerun again on this device<\/p><p><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"194\" class=\"alignnone size-full wp-image-3931  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61e8a4d3067.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61e8a4d3067.png 677w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61e8a4d3067-300x86.png 300w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/p><p id=\"EQIXuzz\"><img loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"49\" class=\"alignnone size-full wp-image-3930  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61e88cba4ae.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61e88cba4ae.png 698w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61e88cba4ae-300x21.png 300w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/p><p>&nbsp;<\/p><h3>Log Directory<\/h3><p>C:\\ProgramData\\Microsoft\\IntuneManagementExtension\\Logs<\/p><div class=\"wp-block-image\">\u00a0<\/div>","protected":false},"excerpt":{"rendered":"<p>Following on from this great articleThe Powershell Script History and logs are stored in the following registry locationHKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\IntuneManagementExtension\\PoliciesYou will need to navigate to a subtree in their [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2836],"tags":[2838,1344,2837,576],"class_list":["post-3929","post","type-post","status-publish","format-standard","hentry","category-intune","tag-code-99","tag-error","tag-intune","tag-powershell"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Following on from this great articleThe Powershell Script History and logs are stored in the following registry locationHKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\IntuneManagementExtension\\PoliciesYou will need to navigate to a subtree in their GUIDHow do I get the GUID for my Intune Script?Diagnosing FailuresA result was coming Failed with the below\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$ : The term &#039;\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$&#039; is not recognized as the name\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"paris\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Welcome to Pariswells.com |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to diagnose issues with Powershell Scripts Running in Intune | Welcome to Pariswells.com\" \/>\n\t\t<meta property=\"og:description\" content=\"Following on from this great articleThe Powershell Script History and logs are stored in the following registry locationHKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\IntuneManagementExtension\\PoliciesYou will need to navigate to a subtree in their GUIDHow do I get the GUID for my Intune Script?Diagnosing FailuresA result was coming Failed with the below\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$ : The term &#039;\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$&#039; is not recognized as the name\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-02-11T21:40:06+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-02-11T21:40:06+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to diagnose issues with Powershell Scripts Running in Intune | Welcome to Pariswells.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Following on from this great articleThe Powershell Script History and logs are stored in the following registry locationHKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\IntuneManagementExtension\\PoliciesYou will need to navigate to a subtree in their GUIDHow do I get the GUID for my Intune Script?Diagnosing FailuresA result was coming Failed with the below\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$ : The term &#039;\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$&#039; is not recognized as the name\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/intune\\\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#article\",\"name\":\"How to diagnose issues with Powershell Scripts Running in Intune | Welcome to Pariswells.com\",\"headline\":\"How to diagnose issues with Powershell Scripts Running in Intune\",\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/img_5c61e930d29b2.png\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/intune\\\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune\\\/#articleImage\",\"width\":324,\"height\":199},\"datePublished\":\"2019-02-11T21:40:06+00:00\",\"dateModified\":\"2019-02-11T21:40:06+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/intune\\\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/intune\\\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#webpage\"},\"articleSection\":\"InTune, code 99, error, intune, powershell\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/intune\\\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/intune#listItem\",\"name\":\"InTune\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/intune#listItem\",\"position\":2,\"name\":\"InTune\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/intune\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/intune\\\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#listItem\",\"name\":\"How to diagnose issues with Powershell Scripts Running in Intune\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/intune\\\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#listItem\",\"position\":3,\"name\":\"How to diagnose issues with Powershell Scripts Running in Intune\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/intune#listItem\",\"name\":\"InTune\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\",\"name\":\"Welcome to Pariswells.com\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris\",\"name\":\"paris\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/intune\\\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"paris\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/intune\\\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#webpage\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/intune\\\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune\",\"name\":\"How to diagnose issues with Powershell Scripts Running in Intune | Welcome to Pariswells.com\",\"description\":\"Following on from this great articleThe Powershell Script History and logs are stored in the following registry locationHKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\IntuneManagementExtension\\\\PoliciesYou will need to navigate to a subtree in their GUIDHow do I get the GUID for my Intune Script?Diagnosing FailuresA result was coming Failed with the below\\u00ef\\u00bf\\u00bd\\u00ef\\u00bf\\u00bd$ : The term '\\u00ef\\u00bf\\u00bd\\u00ef\\u00bf\\u00bd$' is not recognized as the name\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/intune\\\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"datePublished\":\"2019-02-11T21:40:06+00:00\",\"dateModified\":\"2019-02-11T21:40:06+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\",\"name\":\"Welcome to Pariswells.com\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to diagnose issues with Powershell Scripts Running in Intune | Welcome to Pariswells.com","description":"Following on from this great articleThe Powershell Script History and logs are stored in the following registry locationHKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\IntuneManagementExtension\\PoliciesYou will need to navigate to a subtree in their GUIDHow do I get the GUID for my Intune Script?Diagnosing FailuresA result was coming Failed with the below\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$ : The term '\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$' is not recognized as the name","canonical_url":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#article","name":"How to diagnose issues with Powershell Scripts Running in Intune | Welcome to Pariswells.com","headline":"How to diagnose issues with Powershell Scripts Running in Intune","author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/02\/img_5c61e930d29b2.png","@id":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune\/#articleImage","width":324,"height":199},"datePublished":"2019-02-11T21:40:06+00:00","dateModified":"2019-02-11T21:40:06+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#webpage"},"isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#webpage"},"articleSection":"InTune, code 99, error, intune, powershell"},{"@type":"BreadcrumbList","@id":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/pariswells.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/intune#listItem","name":"InTune"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/intune#listItem","position":2,"name":"InTune","item":"https:\/\/pariswells.com\/blog\/category\/intune","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#listItem","name":"How to diagnose issues with Powershell Scripts Running in Intune"},"previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#listItem","position":3,"name":"How to diagnose issues with Powershell Scripts Running in Intune","previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/intune#listItem","name":"InTune"}}]},{"@type":"Organization","@id":"https:\/\/pariswells.com\/blog\/#organization","name":"Welcome to Pariswells.com","url":"https:\/\/pariswells.com\/blog\/"},{"@type":"Person","@id":"https:\/\/pariswells.com\/blog\/author\/paris#author","url":"https:\/\/pariswells.com\/blog\/author\/paris","name":"paris","image":{"@type":"ImageObject","@id":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g","width":96,"height":96,"caption":"paris"}},{"@type":"WebPage","@id":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#webpage","url":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune","name":"How to diagnose issues with Powershell Scripts Running in Intune | Welcome to Pariswells.com","description":"Following on from this great articleThe Powershell Script History and logs are stored in the following registry locationHKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\IntuneManagementExtension\\PoliciesYou will need to navigate to a subtree in their GUIDHow do I get the GUID for my Intune Script?Diagnosing FailuresA result was coming Failed with the below\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$ : The term '\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$' is not recognized as the name","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune#breadcrumblist"},"author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"creator":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"datePublished":"2019-02-11T21:40:06+00:00","dateModified":"2019-02-11T21:40:06+00:00"},{"@type":"WebSite","@id":"https:\/\/pariswells.com\/blog\/#website","url":"https:\/\/pariswells.com\/blog\/","name":"Welcome to Pariswells.com","inLanguage":"en-US","publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Welcome to Pariswells.com |","og:type":"article","og:title":"How to diagnose issues with Powershell Scripts Running in Intune | Welcome to Pariswells.com","og:description":"Following on from this great articleThe Powershell Script History and logs are stored in the following registry locationHKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\IntuneManagementExtension\\PoliciesYou will need to navigate to a subtree in their GUIDHow do I get the GUID for my Intune Script?Diagnosing FailuresA result was coming Failed with the below\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$ : The term '\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$' is not recognized as the name","og:url":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune","article:published_time":"2019-02-11T21:40:06+00:00","article:modified_time":"2019-02-11T21:40:06+00:00","twitter:card":"summary","twitter:title":"How to diagnose issues with Powershell Scripts Running in Intune | Welcome to Pariswells.com","twitter:description":"Following on from this great articleThe Powershell Script History and logs are stored in the following registry locationHKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\IntuneManagementExtension\\PoliciesYou will need to navigate to a subtree in their GUIDHow do I get the GUID for my Intune Script?Diagnosing FailuresA result was coming Failed with the below\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$ : The term '\u00ef\u00bf\u00bd\u00ef\u00bf\u00bd$' is not recognized as the name"},"aioseo_meta_data":{"post_id":"3929","title":null,"description":null,"keywords":null,"keyphrases":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":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_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"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,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 05:32:04","updated":"2022-09-16 10:57:49","primary_term":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.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:\/\/pariswells.com\/blog\/category\/intune\" title=\"InTune\">InTune<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to diagnose issues with Powershell Scripts Running in Intune\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/pariswells.com\/blog"},{"label":"InTune","link":"https:\/\/pariswells.com\/blog\/category\/intune"},{"label":"How to diagnose issues with Powershell Scripts Running in Intune","link":"https:\/\/pariswells.com\/blog\/intune\/how-to-diagnose-issues-with-powershell-scripts-running-in-intune"}],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=3929"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3929\/revisions"}],"predecessor-version":[{"id":3935,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3929\/revisions\/3935"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=3929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=3929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=3929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}