check SCCM Distribution WMI and Content Libary (PowerShell Script)

Check SCCM DP State is a PowerShell script that will check the Packages State on the Distributions servers (WMI and Content Lib). The Result will be logged into a log file and on the default output for future inves

5 Star
2,408 times
Add to favorites
System Center
E-mail Twitter Digg Facebook
  • Some bugfix recommendations
    3 Posts | Last post July 18, 2019
    • Your DPSearch switch is getting overwritten later by another $DPSearch around line so if you do DPSingle it does DPAll anyway.
      Then if you do DPSingle, its always null because it didn't prompt for the DPFQDN yet, so I added a read-host to mine. 
      Finally, the start-transcript doesn't seem to always work for whatever reason (haven't looked into that one.)
    • Hi, 
      i will check this, 
      thx for your Feedback
    • Bugfix 0.2
      -- DP Single Bug is fixed (thx for point out this)
      -- Change from Transcript to internal log function (write-host and log file)