Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::string script = "powershell -executionPolicy bypass -file "MYFILE.ps1"";
- system(script.c_str());
- std::string script = "write-host " 2 " ";
- ShellExecute(NULL, NULL, NULL, script.c_str(), NULL,SW_NORMAL );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement