Prerequisites
Steps to reproduce
Environment :
I am currently using Windows 11 Professional and Enterprise (FR-fr) 25H2, a fully up-to-date version.
Explain :
After migrating from version 7.5.4 to 7.6, I received the message "Get-WindowsOptionalFeature class not registered" (french message in my case) when my script tried to retrieve the list of offline options from an image mounted by DSIM.
So I first tried running the script on version 7.6 to verify the command directly on the online version. It executed correctly, but after a while, it returned absolutely nothing. Then I uninstalled version 7.6 and installed version 7.5.5 instead, which correctly retrieved the data.
To Reproduce in administrator mode :
Note: I have restricted the list of options here to reproduce the case (this command take a time), as I normally load them all.
Get-WindowsOptionalFeature -online -featurename Hyperv*
Expected behavior
PS> Get-WindowsOptionalFeature -online -featurename Hyperv*
FeatureName : HypervisorPlatform
DisplayName : Plateforme de l'hyperviseur Windows
Description : Permet au logiciel de virtualisation de s'exécuter sur l'hyperviseur Windows
RestartRequired : Possible
State : Enabled
CustomProperties :
FeatureName : HyperV-KernelInt-VirtualDevice
DisplayName : Appareil virtuel d’intégration du noyau Microsoft NT
Description : Appareil virtuel d’intégration du noyau Microsoft NT
RestartRequired : Possible
State : Disabled
CustomProperties :
FeatureName : HyperV-Guest-KernelInt
DisplayName : Pilote VSC d’intégration du noyau Microsoft NT
Description : Pilote VSC d’intégration du noyau Microsoft NT
RestartRequired : Possible
State : Disabled
CustomProperties :
Actual behavior
PS> Get-WindowsOptionalFeature -online -featurename Hyperv*
After a long time, no result have returned
Error details
Environment data
Name Value
---- -----
PSVersion 7.6.0
PSEdition Core
GitCommitId 7.6.0
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.4
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visuals
No response
Prerequisites
Steps to reproduce
Environment :
I am currently using Windows 11 Professional and Enterprise (FR-fr) 25H2, a fully up-to-date version.
Explain :
After migrating from version 7.5.4 to 7.6, I received the message "Get-WindowsOptionalFeature class not registered" (french message in my case) when my script tried to retrieve the list of offline options from an image mounted by DSIM.
So I first tried running the script on version 7.6 to verify the command directly on the online version. It executed correctly, but after a while, it returned absolutely nothing. Then I uninstalled version 7.6 and installed version 7.5.5 instead, which correctly retrieved the data.
To Reproduce in administrator mode :
Note: I have restricted the list of options here to reproduce the case (this command take a time), as I normally load them all.
Get-WindowsOptionalFeature -online -featurename Hyperv*Expected behavior
Actual behavior
Error details
Environment data
Visuals
No response