How Can I Provide Elevation to an Operation?
In Windows 10 Pro, I Tried to Install Linux Subsystem, but It Says > Enable-Windowsoptionalfeature -Online -Featurename Microsoft-Windows-Subsystem-Linux...
In Windows 10 Pro, I tried to install linux subsystem, but it says
> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature : The requested operation requires elevation.
`At line:1 char:1 + Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMExcep
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand`
What can I do?
1 Answer
You have to start powershell as admin
and here run the command.