Enable-WindowsOptionalFeature -FeatureName <String[]> [-PackageName <String>] [-All] [-LimitAccess] [-Source <String[]>] [-NoRestart] [-Online] [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParame...
enable-windowsoptionalfeature 实际上并不是一个直接在命令提示符(CMD)或PowerShell中可用的命令。这个命令的功能通常是通过 PowerShell 中的 Dism(Deployment Image Servicing and Management)模块来实现的。 正确的命令格式应该是使用 Dism 命令来启用 Windows 可选功能,例如: powershell Dism /online /enable-feature...
Enable-WindowsOptionalFeature -FeatureName <String[]> [-PackageName <String>] [-All] [-LimitAccess] [-Source <String[]>] [-NoRestart] -Path <String> [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<Common...
in the specified package in the Windows image that is mounted to c:\offline. It also removes all of the files except the manifest file, which reduces the size of the Windows image. The feature can be restored with theEnable-WindowsOptionalFeaturecmdlet or by using Features on Demand at any...
in the specified package in the Windows image that is mounted to c:\offline. It also removes all of the files except the manifest file, which reduces the size of the Windows image. The feature can be restored with theEnable-WindowsOptionalFeaturecmdlet or by using Features on Demand at any...
Enable-WindowsOptionalFeature -FeatureName <String[]> [-PackageName <String>] [-All] [-LimitAccess] [-Source <String[]>] [-NoRestart] [-Online] [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParame...
in the specified package in the Windows image that is mounted to c:\offline. It also removes all of the files except the manifest file, which reduces the size of the Windows image. The feature can be restored with theEnable-WindowsOptionalFeaturecmdlet or by using Features on Demand at any...
Enable-WindowsOptionalFeature -Online -FeatureName “Type feature name” -all 1. ***,要禁用任何已启用的功能,请输入此命令, 复制 Disable-WindowsOptionalFeature -Online -FeatureName “Type feature name” 1. 2.使用命令提示符 首先按WINKEY + X按钮组合或右键单击“开始”按钮,然后单击“命令提示符(管...
FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand 再试试第二个命令行: dism /online /enable-feature /featurename:microsoft-hyper-v-all /All 还是遇到错误码0x800f0831: The DISM log file can be found at C:WINDOWSLogsDISMdism.log ...