PSRAFSCAN DOCUMENTATION
Use the Guided Terminal Workflow
Run RSX without flags and follow the interactive prompts for input, intended use, threshold, report format, destination, and results.
Start the guided scan
Open PowerShell 7.4 or later, import PSRafScan, and run RSX without flags.
Import-Module PSRafScan
RSXFollow the prompts
- Choose clipboard content, a .ps1 file, self-test, or quit.
- Choose TerminalPaste or Ps1File for the code you are reviewing.
- Set the Any, Warning, Error, or None threshold.
- Display the report or export it to a file.
- Choose PlainText or JSON when exporting.
- Read parser findings, rule findings, and the result summary.
- Revise the source and repeat the scan.
Export a report
- Enter a filename without the extension; PSRafScan adds .txt or .json.
- Press Enter at the folder prompt to use the current directory.
- A relative folder is resolved from the current directory.
- Invalid filename characters return you to the filename prompt.
Finish or exit the guided scan
Choose Quit to leave the workflow, or finish a scan and review its report. For repeatable automation, use a direct command with explicit options.