mcr.microsoft.com/windows-insider image is missing Get-WindowsFeature cmdlet

Brass Contributor

Hello,
I have a problem with the new windows-insider Docker image.
The PowerShell command Get-WindowsFeature does not work at all.

$ docker run mcr.microsoft.com/windows-insider:10.0.17709.1000 powershell -Command Get-WindowsFeature
Get-WindowsFeature : The term 'Get-WindowsFeature' is not recognized as the
name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ Get-WindowsFeature
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-WindowsFeature:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException


But with the smaller windowsservercore-insider it works:

$ docker run mcr.microsoft.com/windowsservercore-insider:10.0.17709.1000 powershell -Command Get-WindowsFeature

Display Name Name
------------ ----
[ ] Active Directory Certificate Services AD-Certificate
[ ] Certification Authority ADCS-Cert-Authority
[ ] Certificate Enrollment Policy Web Service ADCS-Enroll-Web-Pol

Is there a plan to add these PowerShell commands to add other Windows features?

0 Replies