Start the guided scan

Open PowerShell 7.4 or later, import PSRafScan, and run RSX without flags.

Import-Module PSRafScan
RSX

Follow the prompts

  1. Choose clipboard content, a .ps1 file, self-test, or quit.
  2. Choose TerminalPaste or Ps1File for the code you are reviewing.
  3. Set the Any, Warning, Error, or None threshold.
  4. Display the report or export it to a file.
  5. Choose PlainText or JSON when exporting.
  6. Read parser findings, rule findings, and the result summary.
  7. 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.