Level 1
0 / 100 XP

Student Assignments

1\. Update PowerShell Help

2\. Create a persistent PSDrive on your computer called T: Be sure this drive remains in Windows explorer after you close PowerShell.

3\. Remove the PSDrive called T: from Windows explorer.

4\. Create 5 folders, add them, then remove them from the stack.

5\. If you wanted to display all the files and folders in the root of your C: drive what cmdlet would you use? Demonstrate this.

6\. Using a PowerShell command create a folder named MYFolder and two txt files named Carl1 and Carl2 on your C drive.

7\. Use a PowerShell command to add content to one of the text files.

8\. Use PowerShell to create a registry key called Galaxy. Add a new registry entry and a new property to the galaxy registry key. Add a value of 100 employees to Galaxy.

9\. What Powershell cmdlet would you use to display all these registry entries? Demonstrate this.

10\. Using PowerShell remove the Galaxy registry key.

11\. If you wanted to determine if the win.ini file existed in the C:\windows folder, what cmdlet would you use? Demonstrate this.