question

LahiruRathnayake-7126 avatar image
0 Votes"
LahiruRathnayake-7126 asked LimitlessTechnology-2700 answered

Powershell ISE installation failing in SETTINGS --> Apps & Features --> Optional Features

126287-image.png


126270-installation-failed.pngage/temp/126287-image.png


windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello @LahiruRathnayake-7126 ,

Can you try to install ISE from an elevated permissions CMD?

run: DISM /Online /Add-Capability /CapabilityName:Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0

Share the error output if it also fails. If it doesn't fail, you might need to repair the Windows Image:

Sfc.exe /scannow
Dism.exe /online /Cleanup-Image /StartComponentCleanup
Dism.exe /Online /Cleanup-Image /RestoreHealth

Restart machine

hope it helps.
Luis P
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.