"""eventcreate /T INFORMATION /ID 1 /L APPLICATION /SO groovy /D "groovyでのイベントログメッセージ" """.execute()
動作環境
groovy 1.6.5, Java6 Update16, Windows 2003 server
groovyのTipsを書いていきます。
"""eventcreate /T INFORMATION /ID 1 /L APPLICATION /SO groovy /D "groovyでのイベントログメッセージ" """.execute()
"""net localgroup "power users" test1 /add""".execute()
"""net user /add test1 test1password /add /fullname:"テスト 一郎" /comment:"テストユーザです" """.execute()
"shutdown.exe /r /f /t 30".execute()