22 Nov 2011 @ 1:38 PM 

A few minutes ago I came across this post: PowerShell Script: SCCM Health Check

Which got me thinking… what about writing a simple function to repair a SCCM client which you can provide your service desk or local support employees just in case you don’t want to provide them access to a SCCM Management Console.

Well, here is it:

# Usage: SCCM-RepairClient <TargetName>
function SCCM-RepairClient([String] $strTargetName)
{
$SCCMClient = [wmiclass] "\\$strTargetName\root\ccm:sms_client"
$SCCMClient.RepairClient()
}

Posted By: Jeff Wouters
Last Edit: 22 Nov 2011 @ 01:38 PM

EmailPermalink
Tags
Categories: Microsoft, PowerShell, SCCM, Script


  • SCCMClient

    Nice work!!!


 Last 50 Posts
 Back
Change Theme...
  • Users » 1
  • Posts/Pages » 346
  • Comments » 503
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About



    No Child Pages.

Contact



    No Child Pages.

Speaking



    No Child Pages.

Health Check



    No Child Pages.