windows-server
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWindows Server Administration
Windows Server 管理
Windows Server management and PowerShell automation.
Windows Server 管理与PowerShell自动化。
Server Roles
服务器角色
powershell
undefinedpowershell
undefinedInstall IIS
Install IIS
Install-WindowsFeature -Name Web-Server -IncludeManagementTools
Install-WindowsFeature -Name Web-Server -IncludeManagementTools
Install AD DS
Install AD DS
Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementTools
Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementTools
List installed features
List installed features
Get-WindowsFeature | Where-Object Installed
undefinedGet-WindowsFeature | Where-Object Installed
undefinedSystem Information
系统信息
powershell
Get-ComputerInfo
Get-Process
Get-Service
Get-EventLog -LogName System -Newest 50powershell
Get-ComputerInfo
Get-Process
Get-Service
Get-EventLog -LogName System -Newest 50IIS Management
IIS 管理
powershell
undefinedpowershell
undefinedCreate website
Create website
New-Website -Name "MyApp" -Port 80 -PhysicalPath "C:\inetpub\myapp"
New-Website -Name "MyApp" -Port 80 -PhysicalPath "C:\inetpub\myapp"
Create app pool
Create app pool
New-WebAppPool -Name "MyAppPool"
New-WebAppPool -Name "MyAppPool"
Start/Stop
Start/Stop
Start-Website -Name "MyApp"
Stop-Website -Name "MyApp"
undefinedStart-Website -Name "MyApp"
Stop-Website -Name "MyApp"
undefinedBest Practices
最佳实践
- Use Server Core when possible
- Implement Windows Admin Center
- Regular Windows Update
- PowerShell remoting over WinRM
- Active Directory best practices
- 尽可能使用Server Core
- 部署Windows Admin Center
- 定期进行Windows更新
- 通过WinRM进行PowerShell远程管理
- Active Directory最佳实践