File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Sources/Winget-AutoUpdate/mods Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 5656 ExitCode = 1602
5757 } | ConvertTo-Json -Compress
5858
59+ # Example 2: Postpone WAU execution
5960 $result = @{
6061 Action = "Postpone"
6162 Message = "WAU postponed due to maintenance schedule"
6465 PostponeDuration = 2 # Optional: Postpone WAU execution for 2 hours (default is 1 hour)
6566 } | ConvertTo-Json -Compress
6667
67- # Example 2 : Continue normally
68+ # Example 3 : Continue normally
6869 $result = @{
6970 Action = "Continue"
7071 Message = "All checks passed, proceeding with updates"
7172 LogLevel = "Green"
7273 } | ConvertTo-Json -Compress
73-
74- # Example 3 : Request reboot after checks
74+
75+ # Example 4 : Request reboot after checks
7576 $result = @{
7677 Action = "Reboot"
7778 Message = "The system needs to reboot within 5 minutes`nbefore WAU updates can be performed."
You can’t perform that action at this time.
0 commit comments