We have many solutions which opens the PowerShell in elevated mode using self-elevating batch file, self-elevating PowerShell Scripts as well.
But My question is how do we open PowerShell in elevated mode using PowerShell without any admin prompt.
Basically all the solutions given to this question help us open in admin mode, but there we need to press okay on the prompt.
Is there any way to disable the prompt using PowerShell itself?