(New-Object -ComObject Shell.Application).ShutdownWindows() |
rem ShutdownWindows.vbs rem shellオブジェクトを使用 rem Windowsのシャットダウン画面が表示され、シャットダウン方法が選択できる。 rem --- dim objShell set objShell = CreateObject("shell.application") objshell.ShutdownWindows set objShell = nothing |