windows-server

📁 bagelhole/devops-security-agent-skills 📅 9 days ago
1
总安装量
1
周安装量
#55018
全站排名
安装命令
npx skills add https://github.com/bagelhole/devops-security-agent-skills --skill windows-server

Agent 安装分布

opencode 1
codex 1
claude-code 1

Skill 文档

Windows Server Administration

Windows Server management and PowerShell automation.

Server Roles

# Install IIS
Install-WindowsFeature -Name Web-Server -IncludeManagementTools

# Install AD DS
Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementTools

# List installed features
Get-WindowsFeature | Where-Object Installed

System Information

Get-ComputerInfo
Get-Process
Get-Service
Get-EventLog -LogName System -Newest 50

IIS Management

# Create website
New-Website -Name "MyApp" -Port 80 -PhysicalPath "C:\inetpub\myapp"

# Create app pool
New-WebAppPool -Name "MyAppPool"

# Start/Stop
Start-Website -Name "MyApp"
Stop-Website -Name "MyApp"

Best Practices

  • Use Server Core when possible
  • Implement Windows Admin Center
  • Regular Windows Update
  • PowerShell remoting over WinRM
  • Active Directory best practices