Loading...
Loading...
Administer Windows Server systems. Manage IIS, Active Directory, and PowerShell automation. Use when administering Windows infrastructure.
npx skill4agent add bagelhole/devops-security-agent-skills windows-server# 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 InstalledGet-ComputerInfo
Get-Process
Get-Service
Get-EventLog -LogName System -Newest 50# 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"