Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Extensions>
- <desktop:Extension Category="windows.fullTrustProcess" Executable="powershell.exe">
- <desktop:ParameterGroup GroupId="RestartPC" Parameters="Restart-Computer"/>
- string commandID = "RestartPC";
- IAsyncAction operation = FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync(commandID);
Add Comment
Please, Sign In to add comment