Geral - Wanderson304/PowerShell GitHub Wiki
Geral
Tópicos não organizados
Como mostrar a barra de progresso no PowerShell com Write-Progress? Executar conjunto de teclas sem usar o teclado
Simular Ctrl + C (forçando interrupção)
function Enviar-CtrlC { Add-Type -AssemblyName System.Windows.Forms [System.Windows.Forms.SendKeys]::SendWait("^c") }
function Forcar-Interrupcao { throw "Interrompido pelo usuário (simulação Ctrl+C)" }