-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSCCM-SoftwareUpdateMon.ps1
More file actions
30 lines (24 loc) · 1.41 KB
/
SCCM-SoftwareUpdateMon.ps1
File metadata and controls
30 lines (24 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#RCAutomate.com
#Partial SCCM Patch monitoring script
#After the deployment and the deployment policy have been created on the server, clients receive the policy on the next policy evaluation cycle.
<#
Monitoring SCCM Software Deployment https://support.microsoft.com/en-us/help/3090265/using-log-files-to-track-the-software-update-deployment-process-in-sys
Alternative: Instead of keeping a hawks eye on SCCM, Just come back a few hrs after patching, run a script to check uptime
Record Update Readiness Before install
Sitting Waiting Status Flag
SCCM Installation Complete - Pending Reboot
Tail WindowsUpdate.log
Rescanning Progress
Detecting New Patches
Scan Complete, None found, or some found
#>
echo "Policy Evaluation Cycle"
sls "Initializing download of policy" C:\Windows\CCM\Logs\PolicyAgent*.log
#policy and the deadline schedule are evaluated.
echo "policy and the deadline schedule are evaluated"
sls "will fire at" C:\Windows\CCM\Logs\Scheduler.log
#At the scheduled deadline, Scheduler notifies the Updates Deployment Agent to initiate the Deployment Evaluation process, as shown in Scheduler.log
echo "Sending message for schedule"
sls "Machine/DEADLINE" C:\Windows\CCM\Logs\Scheduler.log
#Updates Deployment Agent starts the Deployment Evaluation process by requesting a Software Update scan to make sure that the deployed updates are still applicable.
echo "Deployment Evaluation Scan"