Windows Server 2019 上默认安装了哪些角色和功能?

Windows Server 2019 上默认安装了哪些角色和功能?

我正在为一些现有服务器编写一些服务器配置自动化程序。我需要知道在新的 Windows 2019 服务器上默认安装了哪些 Windows 功能,这样我才能知道作为自动化程序的一部分我需要安装哪些功能(这样我就可以测试是否安装了正确的功能)。

有清单吗?

答案1

在 Azure 中的新 Windows 2019 Datacenter Core(无 UI)映像上,默认安装以下功能:

PS >  Get-WindowsFeature | Where-Object { $_.Installed } | Format-Table -AutoSize

Display Name                    Name                      Install State
------------                    ----                      -------------
[X] File and Storage Services   FileAndStorage-Services       Installed
    [X] Storage Services        Storage-Services              Installed
[X] .NET Framework 4.7 Features NET-Framework-45-Features     Installed
    [X] .NET Framework 4.7      NET-Framework-45-Core         Installed
    [X] WCF Services            NET-WCF-Services45            Installed
        [X] TCP Port Sharing    NET-WCF-TCP-PortSharing45     Installed
[X] BitLocker Drive Encryption  BitLocker                     Installed
[X] Enhanced Storage            EnhancedStorage               Installed
[X] System Data Archiver        System-DataArchiver           Installed
[X] Windows Defender Antivirus  Windows-Defender              Installed
[X] Windows PowerShell          PowerShellRoot                Installed
    [X] Windows PowerShell 5.1  PowerShell                    Installed
[X] WoW64 Support               WoW64-Support                 Installed

相关内容