PowerShell Copy Get-WindowsOptionalFeature [-FeatureName <String>] [-PackageName <String>] [-PackagePath <String>] [-Online] [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>]...
在win10客户端上你可以使用“ Get-WindowsOptionalFeature”命令来获取有关在Windows基础包中的所有功能(操作系统功能,包括可选的Windows Foundation功能),或在Windows映像中的指定包的信息。 相关用法可以参考以下链接: /en-us/powershell/module/dism/get-windowsoptionalfeature?view=win10-ps 示例:列出正在运行的操作...
PowerShell Get-WindowsOptionalFeature[-FeatureName <String>] [-PackageName <String>] [-PackagePath <String>] [-Online] [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLevel <LogLevel>] [<CommonParameters>] ...
PowerShell 复制 PS C:\> Get-WindowsFeature -ComputerName Server1 -Credential contoso.com\user1 EXAMPLE 2This example returns a list of features that is available and installed on the specified offline VHD located at D:\ps-test\vhd1.vhd....
Gets information about Windows Server roles, role services, and features that are available for installation and installed on a specified server.SyntaxPowerShell 複製 Get-WindowsFeature [[-Name] <String[]>] [-Vhd <String>] [-ComputerName <String>][-Credential <PSCredential>] [-LogPath <...
Gets information about Windows Server roles, role services, and features that are available for installation and installed on a specified server.SyntaxPowerShell 复制 Get-WindowsFeature [[-Name] <String[]>] [-Vhd <String>] [-ComputerName <String>][-Credential <PSCredential>] [-LogPath <...
Gets information about Windows Server roles, role services, and features that are available for installation and installed on a specified server.SyntaxPowerShell Copy Get-WindowsFeature [[-Name] <String[]>] [-Vhd <String>] [-ComputerName <String>] [-Credential <PSCredential>] [-LogPath <...
Unlike most shells, which accept and return text, Windows PowerShell is built on top of the .NET Framework common language runtime (CLR) and the .NET Framework, and accepts and returns .NET Framework objects 中文解释 PowerShell是一个由微软的提供的全新shell程序,使用了全新的命令提示和脚本环境。
PowerShell Get-WindowsFeature[[-Name] <String[]>] [-Vhd <String>] [-ComputerName <String>][-Credential <PSCredential>] [-LogPath <String>] [<CommonParameters>] Description TheGet-WindowsFeaturecmdlet gets information about features that are both available for installation and already installed ...
精选内容/技术社群/优惠产品,尽在小程序 立即前往 Get-WindowsOptionalFeature从C#失败 Get-WindowsOptionalFeature是一个PowerShell命令,用于在Windows操作系统中启用或禁用可选功能。它并不是一个C#的命令或方法,因此在C#中直接调用Get-WindowsOptionalFeature会失败。 在C#中,如果需要启用或禁用Windows可选功能,可以使用...