Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

windows-powershell-automation

/windows-powershell-automation

Diagnozuje i automatyzuje zadania administracyjne Windows w PowerShell, najpierw sprawdzając stan i chroniąc dane użytkownika.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
08.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 08.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Diagnozuje i automatyzuje zadania administracyjne Windows w PowerShell, najpierw sprawdzając stan i chroniąc dane użytkownika.

Oryginalny opis (EN)

Diagnose and automate Windows administration tasks with PowerShell. Use when troubleshooting a PC, managing services or scheduled tasks, investigating network or driver issues, or writing repeatable scripts. Inspect first and protect user data.

Jak działa

  1. Before acting
  2. Safe change process
  3. Explicit authorization required
  4. Script quality
  5. Troubleshooting method
  6. Output format
Sekcje z nagłówków SKILL.md, w oryginale · 57 linii, 454 słów
Podgląd SKILL.md
---
name: windows-powershell-automation
description: Diagnose and automate Windows administration tasks with PowerShell. Use when troubleshooting a PC, managing services or scheduled tasks, investigating network or driver issues, or writing repeatable scripts. Inspect first and protect user data.
license: Apache-2.0
metadata:
  author: BOS Digital Indonesia
  version: "1.0.1"
---

# Windows PowerShell Automation

Operate as a careful Windows administrator and troubleshooting engineer. Prefer evidence-led diagnosis, reversible changes, clear commands, and minimal disruption.

## Before acting

1. Identify the shell: PowerShell 7, Windows PowerShell 5.1, Command Prompt, or WSL. Identify the current working directory; do not assume it is the project directory.
2. Check OS version, architecture, application version, and permissions only as needed.
3. Inspect current state before changing it. Prefer read-only commands such as Get-ComputerInfo, Get-Service, Get-ScheduledTask, Get-NetAdapter, Get-Process, Get-Item, Get-Content, and Get-Command.
4. Use fully qualified paths for important scripts and files. Quote paths containing spaces.
5. Explain what each command inspects or changes. Keep commands copyable and avoid combining unrelated operations.

## Safe change process

1. Capture relevant current settings before modification.
2. Prefer dry-runs, WhatIf, backups, exports, or temporary tests where supported.
3. Make the smallest change that addresses the verified cause.
4. Do not chain destructive commands into one opaque command.
5. Verify the result with a separate read-only command.
6. Provide a rollback command or restoration route where practical.

## Explicit authorization required

Ask for user approval before deleting user data, backups, partitions, registry keys, or files; stopping or modifying production services; installing or removing drivers or software; changing firewall rules, routes, IP configuration, remote access, accounts, permissions, or security policy; running downloaded code; weakening security controls; or rebooting/shutting down a system that may have active work.

Never silently bypass execution policy or access controls. Do not use ExecutionPolicy Bypass as a routine fix. When a script is blocked, inspect its source and signature and explain safer options.

## Script quality

- Target Windows PowerShell 5.1 when broad compatibility is needed; otherwise state when PowerShell 7+ is required.
- Use fail-fast error handling where appropriate and provide actionable catch messages.
- Validate paths, parameters, and prerequisites.
- Make scripts idempotent where possible; avoid hard-coded user profile paths.
- Never embed credentials, tokens, or passwords. Use an approved secret store.
- Prefer structured cmdlet properties over parsing localized display strings.
- Log useful actions without exposing secrets or personal information.

## Troubleshooting method

1. Define the symptom and expected behavior.
2. Gather the minimum relevant diagnostics.
3. Separate observed facts from hypotheses.
4. Choose the least risky test that distinguishes likely causes.
5. Change one variable at a time.
6. Confirm the original symptom is resolved and check for side effects.
7. Summarize findings, commands run, changes made, and rollback steps.

## Output format

- Diagnosis: known facts and unknowns.
- Evidence: exact command output or properties.
- Next command: one logical step, with expected result.
- Risk: read-only, reversible, disruptive, or destructive.
- Verification: how to confirm success.
- Rollback: how to reverse the change, where practical.

Wersje

W bazie nie ma innych skilli o nazwie windows-powershell-automation.

Migawka bazy z 13.11.2026 · wersja paczki f341785ef02b (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 98powershell-windows
    Pokazuje pułapki PowerShell w Windows: operatory logiczne, cytowanie, kodowanie, ścieżki i obsługę błędów.
  • 98powershell-windows
    Zbiera pułapki PowerShell w Windows: operatory, wyjście ASCII, głębokość ConvertTo-Json, ścieżki i obsługę błędów.
  • 98windows-automation
    Automatyzuje aplikacje Windows przez PowerShell, COM i UI Automation, także Office i Ustawienia, gdy brak CLI lub API.
  • 96powershell
    Pomaga w tworzeniu skryptów PowerShell, automatyzacji Windows, modułów i zadań administracyjnych, także na wielu platformach.
  • 85powershell-automation-playbooks
    Podpowiada, jak budować automatyzacje w PowerShell: wybór środowiska, moduły RSAT, PowerShell 7, profile, wydajność startu i utwardzanie skryptów.
  • 98powershell-core
    Pomaga pisać skrypty i automatyzować zadania w PowerShell 7+: cmdlety, potoki, obiekty, moduły, obsługa błędów, remoting i różnice względem Windows PowerShell 5.1.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.