An action tool accepts additional input and performs an operation or change. Its job is the operation itself, not making output attractive or deciding where results go; other tools can handle those concerns. section 6.2
Use action tools as one part of a broader tool relationship:
- Input tools create data for downstream commands. section 6.2
- Action tools consume input to perform an operation; Set and Remove are common naming patterns. section 6.2
- Output tools render or export results for a specific destination or format. section 6.2
Separate account reporting tasks
A password-age report can retrieve account data with Get-AdUser, collect selected attributes, export the data to CSV for SIEM parsing, and separately produce an HTML display. Breaking the work into discrete tasks avoids asking one tool to retrieve, change, and format everything. section 6.2
Install-WindowsFeature -Name "RSAT-AD-PowerShell" ` -IncludeAllSubFeature
Install the required RSAT Active Directory PowerShell feature before using Get-AdUser in the reporting workflow. section 6.2
