Files
blog/check.ps1
T
2026-06-01 17:57:22 +08:00

1 line
238 B
PowerShell

$e=$null; $t=$null; [void][System.Management.Automation.Language.Parser]::ParseFile('E:\GitHub\blog\bot\tray.ps1',[ref]$t,[ref]$e); if($e -and $e.Count -gt 0){foreach($err in $e){Write-Host $err.Message}}else{Write-Host "tray.ps1: OK"}