This file contains hidden or 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
# FEATURE_BROWSER_EMULATION fix for xwidget.exe and sites without <meta http-equiv="X-UA-Compatible" content="IE=11" /> | |
# https://blogs.msdn.microsoft.com/patricka/2015/01/12/controlling-webbrowser-control-compatibility/ | |
# Test Sites | |
# http://detectmybrowser.com/ | |
# http://kluge.in-chemnitz.de/tools/browser.php | |
# auth: jfrmilner | |
<# | |
https://msdn.microsoft.com/library/ee330730(v=vs.85).aspx#browser_emulation |
This file contains hidden or 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
/* | |
* FastLED Drinks Coaster | |
* Date: 12-2019 | |
* Auth: jfrmilner | |
*/ | |
#include "FastLED.h" | |
#define DATA_PIN 2 | |
#define LED_TYPE WS2812 |
This file contains hidden or 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
<# | |
Get McAfee Endpoint Security AV Status for use with Science Logic Monitoring | |
Auth: jfrmilner | |
#> | |
$version = Get-ItemProperty -Path 'HKLM:SOFTWARE\McAfee\Endpoint\Common' | |
$path = Get-ItemProperty -Path 'HKLM:SOFTWARE\McAfee\AVSolution\DS\DS' | |
$szContentCreationDateTime = Get-Date ($path.szContentCreationDate + " " + $path.szContentCreationTime) | |
$timeSpan = New-TimeSpan -Start $szContentCreationDateTime | |
$result = New-Object PSObject -Property @{ | |
'Name' = 'McAfee Endpoint Security' |
This file contains hidden or 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
<# | |
Get Symantec Endpoint Protection AV Status for use with Science Logic Monitoring | |
Auth: jfrmilner | |
#> | |
$version = Get-ItemProperty -Path 'HKLM:SOFTWARE\Wow6432Node\Symantec\Symantec Endpoint Protection\CurrentVersion' | |
#version check for dat path. Tested with v12 and v14 only. | |
if ($version.PRODUCTVERSION -match "^12\.") { | |
$path = (Get-ItemProperty -Path 'HKLM:SOFTWARE\Wow6432Node\Symantec\Symantec Endpoint Protection\CurrentVersion\SharedDefs\' -Name DEFWATCH_10).DEFWATCH_10 | |
} | |
else { |
This file contains hidden or 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
<# | |
.SYNOPSIS | |
Add Security Principal on Default WinRM SDDL | |
.EXAMPLE | |
Change $user and run | |
.NOTES | |
Author: John Milner / jfrmilner | |
Requires: Powershell V2 | |
Filename: | |
Version: v0.1 - 2021-02 - Test Version |
This file contains hidden or 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
<# | |
PowerShell script to scan for email errors in Streamserver log files | |
Auth: jfrmilner | |
v1 - 2021-06-29 - Initial Release | |
v2 - 2021-07-13 - Change to separate email per log file. Remove file path prefix (now added to email body header). | |
#> | |
$ids = "CH", "AT", "DE", "SE" | |
foreach ($id in $ids) { | |
$path = "C:\StreamServe\domain_$($id)\$($id)_runtime_PROD\export\log\log.txt" | |
$results = Select-String -Pattern "Mail Connector: Failed to send mail\." -Path $path -Context 15, 0 |
This file contains hidden or 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
<# | |
PowerShell wrapper for the Veeam Backup for Microsoft Office 365 API - Export OneDrive Content Report | |
Veeam Backup for Microsoft Office 365 API - REST API Reference | |
https://helpcenter.veeam.com/docs/vbo365/rest/overview.html?ver=50 | |
API Version = 5.0 | |
.NOTES | |
Author: John Milner / jfrmilner | |
Date: 2021-08-06 | |
Legal: This script is provided "AS IS" with no warranties or guarantees, and confers no rights. You may use, modify, reproduce, and distribute this script file in any way provided that you agree to give the original author credit. | |
V1 - Initial Release |
This file contains hidden or 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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
;jfrmilner hotkeys | |
;^ = Ctrl, ! = ALT, # = Win, + = Shift | |
;Shift+F7 | |
+f7:: | |
objOL := ComObjActive("Outlook.Application").ActiveExplorer.Selection.Item(1) ; Selected message in Outlook | |
objOLAp := objOL.GetAssociatedAppointment(True) |