sca-local-system-admin

Teaches local Windows administration with PowerShell covering services, processes, users, scheduled tasks, and event logs.

2|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/jay-steenbergen/MSSAMentorAgent --skill sca-local-system-admin-jay-steenbergen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sca-local-system-admin
Source: https://github.com/jay-steenbergen/MSSAMentorAgent/tree/main/.github/skills/tracks/server-cloud-admin/sca-local-system-admin
Command: npx skills add https://github.com/jay-steenbergen/MSSAMentorAgent --skill sca-local-system-admin-jay-steenbergen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Learners who know PowerShell syntax often lack hands-on experience performing real system administration tasks. This Skill bridges that gap by guiding them through five core Windows administration workflows on their own machine, turning language knowledge into practical sysadmin capability. ## Core Features & Use Cases - Service and Process Management: Start, stop, and inspect Windows services, and find and terminate runaway processes by CPU or memory usage. - Local Account and Task Administration: Create local users, manage group membership, and register scheduled tasks that run PowerShell scripts on a daily trigger. - Event Log Investigation: Filter the Windows Event Log with -FilterHashtable to answer real questions like what caused errors in the last 24 hours. - Use Case: A career-transitioning learner practices stopping the Print Spooler service with -WhatIf, kills a runaway Notepad process by PID, creates and removes a test user, schedules a daily script, and queries the System log for recent errors — all in one guided 75-minute session. ## Quick Start Ask the Mentor to start the sca-local-system-admin project and walk you through administering your local Windows machine with PowerShell.

Frequently Asked Questions about sca-local-system-admin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Windows services with PowerShell?

Use Get-Service to list and inspect services, then Stop-Service, Start-Service, or Restart-Service to change their state. Always run with -WhatIf first to preview destructive actions, and check -DependentServices before stopping anything.

How do I find and kill a process using too much CPU in PowerShell?

Run Get-Process piped to Sort-Object CPU -Descending to find the top consumers, then use Stop-Process with the specific -Id to terminate one instance. Killing by ID is safer than by name, which terminates every matching process.

How do I schedule a PowerShell script to run daily on Windows?

Build the task from four pieces: New-ScheduledTaskAction, New-ScheduledTaskTrigger -Daily, New-ScheduledTaskSettingsSet, and New-ScheduledTaskPrincipal, then register it with Register-ScheduledTask. Use Start-ScheduledTask to test it immediately instead of waiting for the trigger.

Does this project require administrator rights?

Yes, most tasks require an elevated PowerShell session. Service control, local user management, and reading the Security event log all fail without admin rights, so the PowerShell window title must show Administrator.

Why does Get-WinEvent fail or return nothing when filtering logs?

The Security log requires elevation, and Get-EventLog is the older slower API that misses modern event channels. Use Get-WinEvent with -FilterHashtable so filtering happens at the source, and remember StartTime is inclusive of the given timestamp.

What are the limitations of local Windows administration practice?

This project covers only the local machine: no domain joins, Active Directory cmdlets, Azure connections, or remote PowerShell sessions. Those scenarios are handled in later projects using a Windows Server VM.