Skip to content

Instantly share code, notes, and snippets.

View blakeNaccarato's full-sized avatar

Blake Naccarato blakeNaccarato

View GitHub Profile
@blakeNaccarato
blakeNaccarato / Set-PrimaryMonitor.ps1
Last active April 6, 2025 21:53
Monitor setup for Sunshine/Moonlight streaming
<#.SYNOPSIS
Set primary monitor resolution and scaling. Optionally move/maximize windows.
#>
Param(
# Path to MultiMonitorTool.exe (https://www.nirsoft.net/utils/multi_monitor_tool.html)
[Parameter(Mandatory)][string]$Tool,
# Primary monitor width
[int]$Width,
# Primary monitor height