Quick answer is: “Like in other Windows operation system versions!”
But how it is done in other Windows op system versions?
Fastest way is through keyboard shortcuts. Find from search Windows Powershell or Command Promt and select this, but not click and then push “CTRL+SHIFT+ENTER” and after this normally pops-up window where you should say “Yes”
Another way is when opening Windows Powershell or Command Promt. Then make right click on icon and choose “Run as administrator”