1 line
238 B
PowerShell
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"} |