Set-StrictMode -version Latest

Add-Type -AssemblyName System.Windows.Forms;

$text = "Tcl/Tkが見つかりません。インストールしてください";
$caption = "ERROR";
$buttonsType = "OK";
$iconType = "Error";

$result = [System.Windows.Forms.MessageBox]::Show($text, $caption, $buttonsType, $iconType);

