windows-configs/scripts/windows-shutdown.ps1

3 lines
74 B
PowerShell

$shell = New-Object -ComObject Shell.Application
$shell.ShutdownWindows()