Skip to content

Instantly share code, notes, and snippets.

View fredkilbourn's full-sized avatar

Fred Kilbourn fredkilbourn

View GitHub Profile
@fredkilbourn
fredkilbourn / disable-update-reboot.ps1
Created December 15, 2016 01:34
Disable Windows 10 Update Restart
$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 )
{
@fredkilbourn
fredkilbourn / plex-hd-only.js
Last active September 8, 2019 01:47
Plex Live TV Channels HD Only
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;