{"id":4238,"date":"2023-04-25T03:00:15","date_gmt":"2023-04-25T02:00:15","guid":{"rendered":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/"},"modified":"2023-04-25T03:00:15","modified_gmt":"2023-04-25T02:00:15","slug":"issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail","status":"publish","type":"post","link":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/","title":{"rendered":"Issue with CSS-Exchange script update function caused automatic script updates to fail"},"content":{"rendered":"<div>\n<p>This blog post is to draw your attention to an issue that we had with one of our script update functions that we use in several of our scripts to perform automatic script updates. All the scripts that are using the broken function are provided on our <a href=\"https:\/\/microsoft.github.io\/CSS-Exchange\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">CSS-Exchange repository on GitHub<\/a> (the most prominent one is the Exchange Server HealthChecker).<\/p>\n<p>If you run one of them manually or via scheduled task with the bad version released between <strong>April<\/strong> <strong>6<sup>th<\/sup> and 18<sup>th<\/sup> 2023<\/strong> the <em>automatic update does no longer work<\/em> and as a result, you must download the <a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\" target=\"_blank\" rel=\"noopener noreferrer\">latest release<\/a> <strong><em>manually<\/em><\/strong> to make sure that the automatic update logic continues to work.<\/p>\n<p>You\u2019ll find something like this being logged to the log file generated, if the script that you run is affected by the issue mentioned in this article:<\/p>\n<p style=\" padding-left : 30px; \"><em>Unable to check for updates: System.Management.Automation.ParameterBindingException: A positional parameter cannot be found that accepts argument &#8216;<a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\/download\/ScriptVersions.csv\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\/download\/ScriptVersions.csv<\/a>&#8216;.<\/em><\/p>\n<p>Not all CSS-Exchange scripts use this function, so here is a table of those that do. To download the latest version of a script, just click on the name <a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\" target=\"_blank\" rel=\"noopener noreferrer\">on the releases page<\/a> or below table to start the download.<\/p>\n<p><font size=\"5\">Affected scripts where the automatic update was temporarily broken:<\/font><\/p>\n<table width=\"472\">\n<tbody>\n<tr>\n<td width=\"40px\">\n<p><strong>No.<\/strong><\/p>\n<\/td>\n<td width=\"431px\">\n<p><strong>Script name<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"40px\">\n<p>1<\/p>\n<\/td>\n<td width=\"431px\">\n<p><a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\/download\/HealthChecker.ps1\" target=\"_blank\" rel=\"noopener noreferrer\">HealthChecker.ps1<\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"40px\">\n<p>2<\/p>\n<\/td>\n<td width=\"431px\">\n<p><a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\/download\/Update-Engines.ps1\" target=\"_blank\" rel=\"noopener noreferrer\">Update-Engines.ps1<\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"40px\">\n<p>3<\/p>\n<\/td>\n<td width=\"431px\">\n<p><a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\/download\/MonitorExchangeAuthCertificate.ps1\" target=\"_blank\" rel=\"noopener noreferrer\">MonitorExchangeAuthCertificate.ps1<\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"40px\">\n<p>4<\/p>\n<\/td>\n<td width=\"431px\">\n<p><a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\/download\/SourceSideValidations.ps1\" target=\"_blank\" rel=\"noopener noreferrer\">SourceSideValidations.ps1<\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"40px\">\n<p>5<\/p>\n<\/td>\n<td width=\"431px\">\n<p><a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\/download\/Troubleshoot-ModernSearch.ps1\" target=\"_blank\" rel=\"noopener noreferrer\">Troubleshoot-ModernSearch.ps1<\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"40px\">\n<p>6<\/p>\n<\/td>\n<td width=\"431px\">\n<p><a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\/download\/CVE-2023-23397.ps1\" target=\"_blank\" rel=\"noopener noreferrer\">CVE-2023-23397.ps1<\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"40px\">\n<p>7<\/p>\n<\/td>\n<td width=\"431px\">\n<p><a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\/download\/ExchangeExtendedProtectionManagement.ps1\" target=\"_blank\" rel=\"noopener noreferrer\">ExchangeExtendedProtectionManagement.ps1<\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"40px\">\n<p>8<\/p>\n<\/td>\n<td width=\"431px\">\n<p><a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\/download\/SetupAssist.ps1\" target=\"_blank\" rel=\"noopener noreferrer\">SetupAssist.ps1<\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"40px\">\n<p>9<\/p>\n<\/td>\n<td width=\"431px\">\n<p><a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/releases\/latest\/download\/VSSTester.ps1\" target=\"_blank\" rel=\"noopener noreferrer\">VSSTester.ps1<\/a>\u00a0<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><font size=\"5\">Affected script versions (those will not auto-update):<\/font><\/p>\n<ul>\n<li>23.04.04.1055<\/li>\n<li>23.04.05.1708<\/li>\n<li>23.04.14.1557<\/li>\n<li>23.04.17.1957<\/li>\n<li>23.04.18.0737<\/li>\n<\/ul>\n<p><font size=\"5\">Fixed script versions (auto-update works again):<\/font><\/p>\n<ul>\n<li>23.04.19.1501 (or later)<\/li>\n<\/ul>\n<p data-unlink=\"true\">If you experience any other issue with the script or what to provide feedback (e.g., suggesting a new feature or improvement to an existing one), please let us know. You can reach out to us via email (<strong>ExToolsFeedback@microsoft.com<\/strong>) or by <a href=\"https:\/\/github.com\/microsoft\/CSS-Exchange\/issues\" target=\"_self\" rel=\"noopener noreferrer\">opening an issue on GitHub<\/a> (this is the best way to track issues).<\/p>\n<p><font color=\"#CF3600\">The Exchange Server Team<\/font><\/p>\n<\/div>\n<p><a href=\"https:\/\/techcommunity.microsoft.com\/t5\/exchange-team-blog\/issue-with-css-exchange-script-update-function-caused-automatic\/ba-p\/3803772\">Read full article (Microsoft Exchange Blog)<\/a><\/p>\n<p>All content and images belong to their respected owners, this article is curated for informational purposes only.<\/p>\n","protected":false},"excerpt":{"rendered":"This blog post is to draw your attention to an issue that we had with one of our&hellip;\n","protected":false},"author":2,"featured_media":2564,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"csco_singular_sidebar":"","csco_page_header_type":"","csco_appearance_grid":"","csco_page_load_nextpost":"","csco_post_video_location":[],"csco_post_video_location_hash":"","csco_post_video_url":"","csco_post_video_bg_start_time":0,"csco_post_video_bg_end_time":0,"footnotes":""},"categories":[15],"tags":[720,217,400],"coauthors":[48],"class_list":["post-4238","post","type-post","status-publish","format-standard","has-post-thumbnail","category-microsoft-exchange-server","tag-blog","tag-post","tag-this","cs-entry","cs-video-wrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Issue with CSS-Exchange script update function caused automatic script updates to fail | Sebae Networks<\/title>\n<meta name=\"description\" content=\"View Issue with CSS-Exchange script update function caused automatic script updates to fail for free, here at Sebae. Discover more great posts on our website.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Issue with CSS-Exchange script update function caused automatic script updates to fail | Sebae Networks\" \/>\n<meta property=\"og:description\" content=\"View Issue with CSS-Exchange script update function caused automatic script updates to fail for free, here at Sebae. Discover more great posts on our website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/\" \/>\n<meta property=\"og:site_name\" content=\"Sebae Networks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sebaenetworks\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-25T02:00:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sebae.net\/blog\/wp-content\/uploads\/2023\/12\/sebae-logo-card.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Dean\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@sebaenetworks\" \/>\n<meta name=\"twitter:site\" content=\"@sebaenetworks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Dean\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Issue with CSS-Exchange script update function caused automatic script updates to fail | Sebae Networks","description":"View Issue with CSS-Exchange script update function caused automatic script updates to fail for free, here at Sebae. Discover more great posts on our website.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/","og_locale":"en_GB","og_type":"article","og_title":"Issue with CSS-Exchange script update function caused automatic script updates to fail | Sebae Networks","og_description":"View Issue with CSS-Exchange script update function caused automatic script updates to fail for free, here at Sebae. Discover more great posts on our website.","og_url":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/","og_site_name":"Sebae Networks","article_publisher":"https:\/\/www.facebook.com\/sebaenetworks","article_published_time":"2023-04-25T02:00:15+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/www.sebae.net\/blog\/wp-content\/uploads\/2023\/12\/sebae-logo-card.jpg","type":"image\/jpeg"}],"author":"James Dean","twitter_card":"summary_large_image","twitter_creator":"@sebaenetworks","twitter_site":"@sebaenetworks","twitter_misc":{"Written by":"James Dean","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/#article","isPartOf":{"@id":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/"},"author":{"name":"James Dean","@id":"https:\/\/www.sebae.net\/blog\/#\/schema\/person\/6d07e05e3d3e4483117c4e2c3315a89f"},"headline":"Issue with CSS-Exchange script update function caused automatic script updates to fail","datePublished":"2023-04-25T02:00:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/"},"wordCount":347,"commentCount":0,"publisher":{"@id":"https:\/\/www.sebae.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sebae.net\/blog\/wp-content\/uploads\/2021\/11\/exchange-server-header.png","keywords":["blog","post","this"],"articleSection":["Microsoft Exchange Server"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/","url":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/","name":"Issue with CSS-Exchange script update function caused automatic script updates to fail | Sebae Networks","isPartOf":{"@id":"https:\/\/www.sebae.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/#primaryimage"},"image":{"@id":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sebae.net\/blog\/wp-content\/uploads\/2021\/11\/exchange-server-header.png","datePublished":"2023-04-25T02:00:15+00:00","description":"View Issue with CSS-Exchange script update function caused automatic script updates to fail for free, here at Sebae. Discover more great posts on our website.","breadcrumb":{"@id":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/#primaryimage","url":"https:\/\/www.sebae.net\/blog\/wp-content\/uploads\/2021\/11\/exchange-server-header.png","contentUrl":"https:\/\/www.sebae.net\/blog\/wp-content\/uploads\/2021\/11\/exchange-server-header.png","width":1920,"height":1080,"caption":"exchange server header"},{"@type":"BreadcrumbList","@id":"https:\/\/www.sebae.net\/blog\/issue-with-css-exchange-script-update-function-caused-automatic-script-updates-to-fail\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sebae.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Issue with CSS-Exchange script update function caused automatic script updates to fail"}]},{"@type":"WebSite","@id":"https:\/\/www.sebae.net\/blog\/#website","url":"https:\/\/www.sebae.net\/blog\/","name":"Sebae Networks","description":"Tech Tips, News, Tutorials &amp; Advice","publisher":{"@id":"https:\/\/www.sebae.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sebae.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.sebae.net\/blog\/#organization","name":"Sebae","url":"https:\/\/www.sebae.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.sebae.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sebae.net\/blog\/wp-content\/uploads\/2023\/06\/sebae-logo-icon.png","contentUrl":"https:\/\/www.sebae.net\/blog\/wp-content\/uploads\/2023\/06\/sebae-logo-icon.png","width":512,"height":512,"caption":"Sebae"},"image":{"@id":"https:\/\/www.sebae.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sebaenetworks","https:\/\/x.com\/sebaenetworks"]},{"@type":"Person","@id":"https:\/\/www.sebae.net\/blog\/#\/schema\/person\/6d07e05e3d3e4483117c4e2c3315a89f","name":"James Dean","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.sebae.net\/blog\/wp-content\/uploads\/2021\/10\/avatar_user_2_1634496168-96x96.jpg72371c27260698ee55141397050ef40a","url":"https:\/\/www.sebae.net\/blog\/wp-content\/uploads\/2021\/10\/avatar_user_2_1634496168-96x96.jpg","contentUrl":"https:\/\/www.sebae.net\/blog\/wp-content\/uploads\/2021\/10\/avatar_user_2_1634496168-96x96.jpg","caption":"James Dean"},"sameAs":["https:\/\/www.sebae.net"],"url":"https:\/\/www.sebae.net\/blog\/author\/jdean\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sebae.net\/blog\/wp-json\/wp\/v2\/posts\/4238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sebae.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sebae.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sebae.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sebae.net\/blog\/wp-json\/wp\/v2\/comments?post=4238"}],"version-history":[{"count":0,"href":"https:\/\/www.sebae.net\/blog\/wp-json\/wp\/v2\/posts\/4238\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sebae.net\/blog\/wp-json\/wp\/v2\/media\/2564"}],"wp:attachment":[{"href":"https:\/\/www.sebae.net\/blog\/wp-json\/wp\/v2\/media?parent=4238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sebae.net\/blog\/wp-json\/wp\/v2\/categories?post=4238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sebae.net\/blog\/wp-json\/wp\/v2\/tags?post=4238"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.sebae.net\/blog\/wp-json\/wp\/v2\/coauthors?post=4238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}