PowerShell Lab
Build, find and save PowerShell
Reviewed templates and commands with requirements, permissions and risk spelled out. Nothing here runs anything — you copy, review and run it yourself.
Search pages, tools, PowerShell commands and ports
1#Requires -Modules DnsServer2Add-DnsServerResourceRecordA -ComputerName 'DC01' -ZoneName 'corp.example.com' -Name 'printer01' -IPv4Address '10.20.0.50' -CreatePtr-CreatePtr only works if the matching reverse lookup zone exists.