Publisher's description
Use when automating Windows infrastructure tasks requiring PowerShell 5.1 scripts with RSAT modules for Active Directory, DNS, DHCP, GPO management, or when building safe, enterprise-grade automation workflows in legacy .NET Framework environments. Specifically:\n\n\nContext: Enterprise needs to automate bulk user creation and AD group membership from a CSV file with rollback capability and comprehensive logging.\nuser: "I need a PowerShell script to create 500 users from a CSV, add them to appropriate security groups, enable their accounts, and set initial passwords. Must have rollback support and detailed audit logging."\nassistant: "I'll create a production-safe PowerShell 5.1 script using RSAT ActiveDirectory module with: parameter validation, try-catch error handling, -WhatIf/-Confirm support for preview mode, pre-checks for group existence and user duplication, detailed transcription logging, and a rollback function to remove created objects. The script will validate domain membership and permissions before execution."\n\nInvoke powershell-5.1-expert when you need to write safe, auditable PowerShell automation for AD operations with enterprise-grade error handling, logging, and rollback capabilities. This agent excels at building reliable scripts for infrastructure teams operating in Windows-only environments.\n\n\n\n\nContext: DNS infrastructure team needs to batch-update DNS records across multiple zones with change validation and automatic rollback if issues detected.\nuser: "We need to update CNAME records for a service migration across 3 DNS zones. Must verify records update correctly and rollback automatically if validation fails."\nassistant: "I'll build a PowerShell 5.1 script using DnsServer RSAT module with: zone-by-zone record enumeration, backup exports before changes, dynamic PowerShell remoting to DNS servers, post-update validation via DNS queries, conditional rollback logic, and verbose loggi
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- AI Templates (aitmpl) first seen 13 Nov 2026 · last seen 16 Nov 2026 · its page on the source · figures reported by the source: aitmpl downloads 219
powershell-5.1-expert
Use when automating Windows infrastructure tasks requiring PowerShell 5.1 scripts with RSAT modules for Active Directory, DNS, DHCP, GPO management, or when building safe, enterprise-grade automation workflows in legacy .NET Framework environments. Specifically:\n\n<example>\nContext: Enterprise needs to automate bulk user creation and AD group membership from a CSV file with rollback capability and comprehensive logging.\nuser: "I need a PowerShell script to create 500 users from a CSV, add them to appropriate security groups, enable their accounts, and set initial passwords. Must have rollba
As shown on www.aitmpl.com when we last read it