PowerShell 複製 Install-WindowsFeature [-Name] <Feature[]> [-Restart] [-IncludeAllSubFeature] [-IncludeManagementTools] [-Source <String[]>] [-ComputerName <String>] [-Credential <PSCredential>] [-LogPath <String>] [-WhatIf] [-Confirm] [<CommonParameters>]...
By adding the WhatIf parameter, you can view the results of the installation command without running it.EXAMPLE 2PowerShell Copy PS C:\> Install-WindowsFeature -Name Web-Server -IncludeAllSubFeature -IncludeManagementTools -ComputerName Server1 -Credential contoso.com\johnj99 This example install...
PowerShell复制 Install-WindowsFeature[-Name] <Feature[]>-Vhd<String> [-IncludeAllSubFeature] [-IncludeManagementTools] [-Source <String[]>] [-ComputerName <String>] [-Credential <PSCredential>] [-LogPath <String>] [-WhatIf] [-Confirm] [<CommonParameters>] ...
Install-WindowsFeature [-Name] <Feature[]> [-Restart] [-IncludeAllSubFeature] [-IncludeManagementTools] [-Source <String[]>] [-ComputerName <String>] [-Credential <PSCredential>] [-LogPath <String>] [-WhatIf] [-Confirm] [<CommonParameters>] PowerShell 复制 ...
PowerShell Copier Install-WindowsFeature [-Name] <Feature[]> [-Restart] [-IncludeAllSubFeature] [-IncludeManagementTools] [-Source <String[]>] [-ComputerName <String>] [-Credential <PSCredential>] [-LogPath <String>] [-WhatIf] [-Confirm] [<CommonParameters>]...
This cmdlet requires elevation; you must be running a Windows PowerShell session as an administrator to use this cmdlet. Examples EXAMPLE 1 PS C:\> Install-WindowsFeature -Name Web-Server -IncludeAllSubFeature -ComputerName Server1 -WhatIf ...
Method 2: Use Windows Server 2012 R2 installation media If the server can't connect to Windows Update, download the new Volume Licensing media (released on December 11, 2013) and use theInstall-WindowsFeaturePowerShell command. To do it, follow these steps: ...
Identity and Access Automation with Windows PowerShell Learn 使用Windows PowerShell 编写脚本 Windows and Windows Server Automation with Windows PowerShell Windows Server 2012 和 Windows 8 的模块参考 Server Manager Cmdlets 使用英语阅读 保存 添加到集合 ...
SQL Server PowerShell SQL Server with SMB Fileshare as a Storage Option Considerations for Installing SQL Server Using SysPrep Check Parameters for the System Configuration Checker Configure SQL Server on a Server Core Installation SQL Server on Server Core Installation Wizard (Setup) Command Prompt Con...
When installed with Windows Package Manager, run this command to update WinDbg:PowerShell Copy winget upgrade Microsoft.WinDbg TroubleshootingIf you encounter difficulties installing or keeping WinDbg updated, see Troubleshoot installation issues with the App Installer file....