{"id":351,"date":"2021-04-12T19:08:06","date_gmt":"2021-04-12T19:08:06","guid":{"rendered":"https:\/\/thecloudwiki.com\/?p=351"},"modified":"2021-06-20T11:10:34","modified_gmt":"2021-06-20T11:10:34","slug":"powershell-useful-sccm-client-status-check-scripts","status":"publish","type":"post","link":"https:\/\/thecloudwiki.com\/?p=351","title":{"rendered":"PowerShell &#8211; Useful SCCM client status check scripts"},"content":{"rendered":"\n<p class=\"has-extra-small-font-size wp-block-paragraph\">At the time patching cycles starts, every windows admin must go through a lot of pain in troubleshooting patch installation failures wrt to SCCM status, version, site code, etc.<br>So, before the patching cycle start, we can just execute a few of the below scripts to find whether SCCM client health is good or not.<\/p>\n\n\n\n<div class=\"wp-block-coblocks-gist\"><script src=\"https:\/\/gist.github.com\/sandeep-sr\/d79782b8409ad25d42280983c0782b95.js\"><\/script><noscript><a href=\"https:\/\/gist.github.com\/sandeep-sr\/d79782b8409ad25d42280983c0782b95\">View this gist on GitHub<\/a><\/noscript><\/div>\n\n\n\n<p class=\"has-extra-small-font-size wp-block-paragraph\">SCCM Check for Server online\/offline, Servers presents in AD or not, Service status, Site Code and SCCM client installed or not<\/p>\n\n\n\n<div class=\"wp-block-coblocks-gist\"><script src=\"https:\/\/gist.github.com\/sandeep-sr\/f9a7c1a7500869b28481624759118ab6.js\"><\/script><noscript><a href=\"https:\/\/gist.github.com\/sandeep-sr\/f9a7c1a7500869b28481624759118ab6\">View this gist on GitHub<\/a><\/noscript><\/div>\n","protected":false},"excerpt":{"rendered":"<p>At the time patching cycles starts, every windows admin must [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1291,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[23],"tags":[5],"class_list":["post-351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-powershell"],"uagb_featured_image_src":{"full":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powershell-sccmclientscrpt-feature-image-e1624187424963.png",400,177,false],"thumbnail":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powershell-sccmclientscrpt-feature-image-150x150.png",150,150,true],"medium":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powershell-sccmclientscrpt-feature-image-300x133.png",300,133,true],"medium_large":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powershell-sccmclientscrpt-feature-image-768x341.png",768,341,true],"large":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powershell-sccmclientscrpt-feature-image-1024x454.png",1024,454,true],"1536x1536":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powershell-sccmclientscrpt-feature-image-e1624187424963.png",400,177,false],"2048x2048":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powershell-sccmclientscrpt-feature-image-e1624187424963.png",400,177,false]},"uagb_author_info":{"display_name":"Sandeep","author_link":"https:\/\/thecloudwiki.com\/?author=1"},"uagb_comment_info":0,"uagb_excerpt":"At the time patching cycles starts, every windows admin must [&hellip;]","_links":{"self":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=351"}],"version-history":[{"count":3,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/351\/revisions"}],"predecessor-version":[{"id":1124,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/351\/revisions\/1124"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/media\/1291"}],"wp:attachment":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}