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/Labx09x/ |
Upload File : |
<? // JimMartinson/CST1861/Labs/Lab07/index.php $TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n"; ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path. require('application.phpinc'); require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // Replaced. $disabled = ''; //$disabled = ' disabled'; // Comment this line to enable lab. if ( false && $disabled && $_SESSION['userId'] == 1 ) { d_Var('$classId',$classId,'d'); d_Var('$classNumber',$classNumber,'d'); d_Var('$classSection',$classSection,'d'); d_Var('$courseNumber',$courseNumber,'d'); d_Var('$evaluationId',$evaluationId,'d'); d_Var('$evaluationInfo',$evaluationInfo,'d'); d_Var('$evaluationName',$evaluationName,'d'); d_Var('$evaluationNumber',$evaluationNumber,'d'); d_Var('$evaluationTitle',$evaluationTitle,'d'); d_Var('$evaluationType',$evaluationType,'d'); d_Var('$saveFilename',$saveFilename,'d'); d_Var('$title',$title,'d'); d_Var('$uploadFilename',$uploadFilename,'d'); d_Var('$userFileName',$userFileName,'d'); d_Var('$userFirstName',$userFirstName,'d'); d_Var('$userId',$userId,'d'); d_Var('$userFullName',$userFullName,'d'); d_Var('$userLastName',$userLastName,'d'); } ?> <style type="text/css">b {white-space:nowrap;}</style> <p> <fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Assignment</legend> <? if ( $disabled ) { ?> <span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><br> <? } ?> The purpose of this lab is to demonstrate your ability to write a powershell profile. <br><?=$gradeNote?> <ol class="count"> <li> Create a directory called <b><?=$evaluationName?></b>. We will use it for all work performed in this lab. </li> <li> Write a powershell profile script. <br>I don't care what it does except have this command at the end of your profile: <code>"This script written by <?=$userFullName?>.`n"</code>. </li> <li>Show that the profile works. <ol> <li>Open a powershell window.</li> <li> Take a screenshot and save it as <b><?=$saveFilename?>-a.png</b> in your <b><?=$evaluationName?></b> folder. <? showBegin('See example screenshot','Hide example screenshot'); ?><br><img src="Profile.png" width="764" height="377" alt="Example profile"/><br><? showEnd(); ?> </li> </ol> </li> <li>Turn in your assignment: <ol type="a"> <li>Copy your profile file into your <b><?=$evaluationName?></b> folder.</li> <li>Make sure the following files are in your <b><?=$evaluationName?></b> folder: <ol type="a"> <li>Your profile file.</li> <li><?=$saveFilename?>-a.png.</li> </ol> </li> <li>Zip up your <b><?=$evaluationName?></b> folder into a file named <b><?=$uploadFilename?></b>.</li> <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"<?=$disabled?>> for grading.<? if ( $disabled ) { ?> <span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?></li> </ol> </li> </ol> <?=$gradeNote?> </fieldset> <? #$deductionPoints = $evaluationInfo['evaluationPoints'] / 10; if ( $deductionPoints == 1 ) { $deductionPoints = '1 point'; } else { $deductionPoints = $deductionPoints.' points'; } require('Gradebook/EvaluationSubmission_END.phpinc'); // Replaced. if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n"; ?>