Doubts on Invoke-WindowsNativeAppWithElevation function. #83
-
Reposting as no response on the blog reply :-) . I think Crescendo should be providing option to have -Credential to the cmdlets it creates using the same Parameter attributes via json, Is there any reason why the elevation function looks like a cmdlet (Invoke-WindowsNativeAppWithElevation) than a simple usage like sudo for linux. If that cmdlet is always used internally, then can’t we make it simple in name ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @kvprasoon , thanks for the suggestion. Invoke-WindowsNativeAppWithElevation is a Crescendo function that calls Start-Process with -Credential. Why is named like a cmdlet? Cause it is ;) We plan on sticking with this through GA. Keep in mind, that the elevation command for Windows |
Beta Was this translation helpful? Give feedback.
Hey @kvprasoon , thanks for the suggestion. Invoke-WindowsNativeAppWithElevation is a Crescendo function that calls Start-Process with -Credential. Why is named like a cmdlet? Cause it is ;) We plan on sticking with this through GA. Keep in mind, that the elevation command for Windows
Invoke-WindowsNativeAppWithElevation
can be replaced with your own. We wanted you to have the flexibility to replace this with your own elevation mechanism.