This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$task = Get-ScheduledTask | Where-Object ` | |
{ ` | |
$_.TaskPath -eq "\Microsoft\Windows\UpdateOrchestrator\" -and ` | |
$_.TaskName -eq "Reboot" ` | |
} | |
$task_file = "C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Reboot" | |
if( $task -eq $null ) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: | |
{ | |
/* can be pasted in console or as a bookmark */ | |
/* metadata */ | |
const channels = []; | |
var count_enabled = 0; | |
var count_guide_channel_missing = 0; | |
var count_guide_missing_channels_matched_alternate = 0; | |