Some commands, such as sfc or anything from Chocolatey will require administrator rights in order to be used.
I believe this could be an option via the configuration file or by adding a modifier, such as >! or >>! to the command.
As for how to invoke the elevated cmd on Windows, I know the most reg keys that add this option to the context menu rely on invoking cmd from powershell, from which one can specify the proper rights, but there may be better implementations.
Some commands, such as
sfcor anything from Chocolatey will require administrator rights in order to be used.I believe this could be an option via the configuration file or by adding a modifier, such as
>!or>>!to the command.As for how to invoke the elevated cmd on Windows, I know the most reg keys that add this option to the context menu rely on invoking cmd from powershell, from which one can specify the proper rights, but there may be better implementations.