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
(1)
1,196 times
Add to favorites
System Center
7/18/2019
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Some bugfix recommendations
    3 Posts | Last post Thu 1:41 AM
    • 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
      k. 
      
    • 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)