Gets information about optional features in a Windows image.SyntaxPowerShell Másolás Get-WindowsOptionalFeature [-FeatureName <String>] [-PackageName <String>] [-PackagePath <String>] -Path <String> [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-Scratch...
如果要隐藏“设置”应用中的整个 应用 功能,请使用策略 User Configuration\Administrative Template\Control Panel\Programs\Hide "Programs and Features" page。MDM使用Microsoft Intune,可以使用管理模板或设置目录来隐藏 Windows 功能。如果要隐藏“设置”应用中的整个应用功能,可以在已注册Intune设备上使用配置策略。
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...
For more information about Features on Demand, see Configure a Windows Repair Source in the TechNet Library.ExamplesExample 1: Disable an optional featurePowerShell 複製 PS C:\> Disable-WindowsOptionalFeature -Online -FeatureName "Hearts"
Enable-WindowsOptionalFeature-FeatureName<String[]> [-PackageName <String>] [-All] [-LimitAccess] [-Source <String[]>] [-NoRestart]-Path<String> [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParamet...
Gets information about optional features in a Windows image. Syntax PowerShell Get-WindowsOptionalFeature[-FeatureName <String>] [-PackageName <String>] [-PackagePath <String>]-Path<String> [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>]...
Enable-WindowsOptionalFeature-FeatureName<String[]> [-PackageName <String>] [-All] [-LimitAccess] [-Source <String[]>] [-NoRestart]-Path<String> [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParamet...
PS C:\>Get-WindowsOptionalFeature -Path "c:\offline" -PackageName "Microsoft-Windows-Backup-Package~31bf3856ad364e35~x86~~6.1.7601.16525"This command displays lists all of the optional features in the specified package in the Windows image mounted to c:\offline.Example...
Enable-WindowsOptionalFeature -Online -FeatureName “Type feature name” -all 1. ***,要禁用任何已启用的功能,请输入此命令, 复制 Disable-WindowsOptionalFeature -Online -FeatureName “Type feature name” 1. 2.使用命令提示符 首先按WINKEY + X按钮组合或右键单击“开始”按钮,然后单击“命令提示符(管...