quizzes/demo.quiz.json
{
"$schema": "https://raw.githubusercontent.com/jdhitsolutions/PSQuizMaster/main/psquiz.schema.json", "metadata": { "name": "My Demo Quiz", "author": "Jeff Hicks", "description": "This is a demo quiz file", "version": "0.4.0", "id": "795a13d6-5054-4b94-8c5d-2e9033593ab2", "updated": "2023-08-25 14:46:08Z" }, "questions": [ { "question": "What is the preferred technique for listing all running services?", "answer": "071101116045083101114118105099101 124 087104101114101045079098106101099116 123036095046115116097116117115 045101113 034114117110110105110103034125", "distractors": [ "Get-Service -running", "Get-Process -type service", "Find-Service | where running", "Where-object {$_.status -eq running} | Get-Service" ], "note": "You could also use (Get-Service).where({$_.status -eq \"running\"})" }, { "question": "Which of the following is an alias for Get-Process?", "answer": "103112115", "distractors": [ "pr", "gpr", "proc", "p" ], "note": "Run: Get-Alias -Definition Get-Process to see all defined aliases." }, { "question": "What variable will show you the PowerShell version?", "answer": "036080083086101114115105111110084097098108101", "distractors": [ "$PSVersion", "$PS", "$Edition", "$version" ], "note": "" }, { "question": "What is the remoting protocol used by Windows PowerShell?", "answer": "087083077097110", "distractors": [ "WinRM", "SSH", "TCPIP", "NetBios" ], "note": "The WinRM service manages the WSMan protocol" }, { "question": "What is the PowerShell edition associated with Windows PowerShell 5.1?", "answer": "068101115107116111112", "distractors": [ "Core", "Windows", "pwsh", "Powershell" ], "note": "The edition for PowerShell 7 is Core" }, { "question": "What is the name of PowerShell's basic command element?", "answer": "067109100108101116", "distractors": [ "Function", "PSCmdlet", "Module", "PSCmd" ], "note": "A function is like a cmdlet, but it is written in PowerShell's scripting language." }, { "question": "What parameter would you use with Get-ChildItem to display only folders?", "answer": "068105114101099116111114121", "distractors": [ "Folder", "Recurse", "/S", "Subfolder" ], "note": "Use -File to see only files." }, { "question": "What was the first version of PowerShell Core?", "answer": "054", "distractors": [ "5.1", "6", "5.2", "7" ], "note": "This is really a trivia question." } ] } |