System::Diagnostics::Process::Start("shutdown","/s /t 0"); // translated to C++/CLI
system("shutdown /s");