nav2009-service-tier-adminlisted
Install: claude install-skill whobat/AI-Agent-skills
# NAV 2009 Service Tier Admin
> Targets **Microsoft Dynamics NAV 2009 (incl. R2) Service Tiers** (NST = NAV Server) and
> **NAS (NAV Application Server / Job Queue)** running as Windows services. The bundled script
> `scripts/Get-NavServiceTier.ps1` enumerates services, parses **CustomSettings.config**, and
> emits JSON; **the agent (you) writes the narrative.** Inventory is **read-only**; the
> `-Restart` action stops/starts a service in the correct order and is **opt-in** — always
> confirm with the user before using it. The script never calls an LLM.
`SCRIPT` = this skill's `scripts/Get-NavServiceTier.ps1`. Requires **PowerShell 7+** (`pwsh`).
Reads the local machine by default; use `-ComputerName` for remote targets (requires admin +
WinRM/CIM access on the target). Full parameter and schema reference in
[REFERENCE.md](REFERENCE.md).
## Permissions & auth
- **Local inventory**: any account with rights to query Win32_Service (typically local admin).
Reading CustomSettings.config in `Program Files\Microsoft Dynamics NAV\...\Service` usually
requires local admin or membership in the local Administrators group.
- **Remote inventory** (`-ComputerName`): needs CIM/WinRM connectivity (`Test-WSMan` or
`winrm quickconfig` on the target) and an account with admin rights on the target machine.
- **Restart**: local admin (or `SeServiceLogonRight`-equivalent) on the machine hosting the
service. For remote restart the same WinRM/admin requirements apply.
- If the Service fo