Die Oberfläche ist lokalisiert; Skill-Beschreibungen und -Dokumente werden per KI automatisch in Ihre Sprache übersetzt. Code, Befehle, Pfade und Fachbegriffe bleiben im Original, maßgeblich ist das Dokument des Autors.
Skills entdecken
Entwicklung · SKILL.md

windows-ps-server-admin

windows-ps-server-admin

Use when administering Windows Server via PowerShell — Active Directory (users, groups, OUs, GPO), DNS Server, DHCP Server, IIS/web hosting, Hyper-V VM management, Windows Server Update Services (WSUS), file server/shares (SMB), Print Server, Certificate Services, and server roles/features installation. Part of the windows-ps-* skill family.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill-Dokumentation

GitHub

name: windows-ps-server-admin description: Use when administering Windows Server via PowerShell — Active Directory (users, groups, OUs, GPO), DNS Server, DHCP Server, IIS/web hosting, Hyper-V VM management, Windows Server Update Services (WSUS), file server/shares (SMB), Print Server, Certificate Services, and server roles/features installation. Part of the windows-ps-* skill family. family: windows disambiguation: Administering Windows Server ROLES via PowerShell — DNS, DHCP, IIS, Hyper-V, and routine AD tasks. AD architecture and design decisions are windows-ad-admin.

Windows Server Administration via PowerShell

Companion skill to windows-powershell (parent) covering Windows Server roles and features managed through PowerShell. Targets Windows Server 2019/2022/2025. For security-specific topics (Windows Firewall, BitLocker, Defender, auditing), see windows-ps-security.


Reference Files

Detailed code examples, patterns, and configuration are in the reference files below. Read the relevant file when working on that area.

FileCovers
iis-hyperv-storage-certs-monitoring.mdIIS web server, Hyper-V VM management, file server/SMB, WSUS, Certificate Services, and server monitoring
roles-ad-dns-dhcp.mdserver roles/features, Active Directory administration, Group Policy, DNS Server, and DHCP Server


Anti-Patterns

Anti-PatternWhy It FailsCorrect Approach
Using Set-ADUser in a loop instead of bulk operationsOne LDAP call per user; 1000 users = 1000 network round trips; takes minutes instead of secondsUse pipeline: `Get-ADUser -Filter ...
Managing GPOs without version controlNo rollback capability; conflicting edits between admins; no audit trail for changesExport GPOs to XML backup before changes; store in git; document every GPO change with business justification
Not testing GPO changes in a lab OU firstA bad GPO applied to production OUs can lock out users, break applications, or disable services domain-wideCreate a test OU with representative test accounts/computers; apply and validate GPO there first; then link to production
Using local admin accounts instead of gMSAs for servicesPassword rotation is manual; shared passwords get leaked; no accountability for service account usageUse Group Managed Service Accounts (gMSAs); automatic password rotation; tied to specific computer accounts
Disabling Windows Firewall instead of creating proper rulesExposes all services to the network; violates CIS benchmarks; lateral movement becomes trivial for attackersCreate specific inbound rules for required services; use Group Policy to enforce firewall state; log dropped traffic

Related Skills

ScopeSkill
PowerShell fundamentals (parent)windows-powershell
Windows security (firewall, BitLocker, Defender, auditing)windows-ps-security
CMD / batch scriptingwindows-cmd
Gespeicherte Skills