PSRAFSCAN DOCUMENTATION
Use the Guided Terminal Workflow
Run RSX without flags and follow the guided terminal workflow for input, intended use, threshold, report format, destination, and review.
Start the guided terminal workflow
Open PowerShell 7.4 or later, import the installed module, and run RSX without a path, clipboard switch, or noninteractive setting. PlainText is the entry format for the guided flow.
Import-Module PSRafScan
RSXFollow the current sequence
- Select clipboard content, a specific .ps1 file, self-test, or quit.
- For a review, identify whether the source is meant for direct terminal paste or a saved script file.
- Choose Any, Warning, Error, or None as the failure threshold.
- Choose how the report should be handled and, for export, select PlainText or Json.
- For file export, provide a filename fragment and then a destination directory.
- Read parser findings first, then rule findings and the stated failure reason.
- Revise the source and repeat the same review settings.
File export behavior
- The filename question accepts a filename fragment, not a folder path.
- The chosen format controls whether .txt or .json is appended.
- A blank destination directory uses the current shell directory.
- A relative destination is resolved from the current shell directory.
- Invalid filename characters cause another prompt rather than advancing.
Exit and review boundaries
Quitting the guided workflow exits the interaction. Completing a scan returns a report for review. Neither event runs the target script. A passing threshold is not approval to execute unfamiliar code.