Skip to content

PSQuizMaster_v2.0.0

Latest

Choose a tag to compare

@jdhitsolutions jdhitsolutions released this 07 Jul 19:36

Changelog for PSQuizMaster

v2.0.0 - 2026-07-07 15:32:31

Added

  • Created v2 of the quiz JSON schema.
  • Added Update-PSQuizSchema to update the quiz JSON schema version.
  • Added a Menu parameter to Get-PSQuiz to display a list of quizzes using Read-SpectreSelection.
  • Added a Domain Specific Language (DSL) for creating quiz files. See about_PSQuizDSL
  • Added New-PSQuizFixture to create a DSL template.

Changed

  • Updated Protect-PSQuizFile and Unprotect-PSQuizFile to update the JSON schema to v2 if necessary. This is a potential breaking change.
  • Revised Invoke-PSQuiz to not run if the VSCode integrated terminal is detected. This host doesn't support Spectre images. This is a breaking change.
  • Updated code to invoke quiz to use a SpectreRule line.
  • Added the username to the PSQuizSettings information saved to the settings file.
  • Updated formatting for quiz results to color code the grade.
  • Updated Get-PSQuiz to use parameter sets. Path is the default.
  • Updated JSON schema and related commands to store protection information in the quiz metadata. If protection is enabled and the item matches an protection pattern, then unmask the item. This is a potential breaking change
  • Updates to sample quizzes to reflect changes in the module and quiz design.
  • Set file encoding defaults to UTF8. This is a potential breaking change.
  • Re-saved sample quiz files with UTF-8 encoding
  • Updated the module to require PowerShell 7. The manifest is using PowerShell 7.6 as the minimum as that is the current LTS release. This module is no longer supported on Windows PowerShell. Major version number bump to reflect the update. This is a breaking change.
  • Updated test time formatting for quiz results.
  • Updated code for the -UseEditor dynamic parameter to only test for VSCode.
  • Updated output from Invoke-PSQuiz to include a grade. Also included the default format file.
  • Updated formatting for Get-PSQuiz output to add some ANSI style.
  • Updated code to mask and unmask notes in the quiz file.
  • Updated online help links.
  • Update README.

Fixed

  • Fixed the grading code to gracefully handle situations where the user may quit before answering any questions.
  • Updated commands to use cross-platform supported environmental variables.
  • Fixed prompt when running a quiz to show the correct number of possible choices.
  • Updated help for New-PSQuizFile to show missing parameters.