powershellGet-WindowsOptionalFeature -Online这个命令会列出当前已安装的 Windows 组件功能以及可用的但尚未安装的功能。PS C:\Users\Administrator> Get-WindowsOptionalFeature -OnlineFeatureName : Server-CoreState : EnabledFeatureName : NetFx4ServerFeaturesState : Enabled...
How to find the list of Optional Features and their status: Open PowerShell as Administrator and type the following command: get-windowsoptionalfeature -online ** ** More details on a specific feature: Use the following command to get more details on a specific feature: ...
Dism.exe /Image:<...> /Get-Driverinfo Get-WindowsDriver -Driver Dism.exe /Image:<...> /Get-Drivers Get-WindowsDriver Dism.exe /Image:<...> /Get-Featureinfo Get-WindowsOptionalFeature -FeatureName Dism.exe /Image:<...> /Get-Features Get-WindowsOptionalFeature Dism.exe /Image:<......
Steps to reproduce Get-WindowsOptionalFeature -Online >Get-WindowsOptionalFeature: Class not registered get-error Exception : Type : System.Runtime.InteropServices.COMException ErrorCode : -2147221164 TargetSite : Name : ThrowTerminating...
Dism.exe /Image:<...> /Get-Driverinfo Get-WindowsDriver -Driver Dism.exe /Image:<...> /Get-Drivers Get-WindowsDriver Dism.exe /Image:<...> /Get-Featureinfo Get-WindowsOptionalFeature -FeatureName Dism.exe /Image:<...> /Get-Features Get-WindowsOptionalFeature Dism.exe /Image:<...>...
Specify the name of the Windows optional feature as a string. This value for this property should be the same as theFeatureNameproperty of the Windows optional feature. To list the available optional features for a computer, use theGet-WindowsOptionalFeaturecmdlet. ...
You get the functionality of the feature automatically. Note Some features have configuration requirements, such as preference variables, that must be set to get the desired results from the feature. When an experimental feature is discontinued, that feature is no longer available in the PowerShell...
Get-ADGroupMember Gets the members of an Active Directory group. Get-ADObject Gets one or more Active Directory objects. Get-ADOptionalFeature Gets one or more Active Directory optional features. Get-ADOrganizationalUnit Gets one or more Active Directory organizational units. Get-ADPrincipalGroupMemb...
Windows PowerShell ISE (optional feature in Windows PowerShell 3.0, which is installed by using Server Manager) Note In Windows PowerShell 3.0, modules are imported automatically when you get or use any cmdlet in the module. You can still use theImport-Modulecmdlet to import a module. UseImpo...
(WMI) starting in Windows PowerShell 3.0. Included are examples of how to find namespaces and classes in WMI, and detailed information about CimSession, CimInstance, CIM operations, and invoking a CIM method. The quick reference describes how to get a list of new CIM cmdlets, and defines ...