sudo
sudo copied to clipboard
sudo custom_function
Sudo for Windows version
1.0.0
Windows build number
10.0.26100.0
Other Software
No response
Steps to reproduce
I have write a custom function Get-Tools which will show some items like menu. All this time I used gsudo which is working just fine like gsudo Get-Tools and I run this function as Admin.
Now I just received native sudo support with latest Windows update and for some reason I can't run function in same way sudo Get-Tools return Command not found.
Expected Behavior
I expected to run function as admin.
Actual Behavior
Noting, got message that command not Command not found.