Skip to content

All your computers and your phone/iPhone, working as one desk. Screens, apps, files, clipboard, calls, texts, notifications, mouse and keyboard, shared between Mac, Windows, Linux , Android, Web and ios / ipados . Free and open source. No account, no cloud, and no shared network needed.

526 B
Raw Blame
# TwinDesk - Copyright (C) 2026 inukaasith. GPL-3.0, see LICENSE.
# wake.js, elevated: up physical adapters may wake the PC on a magic packet (-On), or not.
param([switch]$On)
Get-NetAdapter -Physical | Where-Object Status -eq 'Up' | ForEach-Object {
  try { Set-NetAdapterPowerManagement -Name $_.Name -WakeOnMagicPacket $(if ($On) { 'Enabled' } else { 'Disabled' }) -ErrorAction Stop } catch {}
  if ($On) { powercfg /deviceenablewake $_.InterfaceDescription } else { powercfg /devicedisablewake $_.InterfaceDescription }
}