Question: Script # 2 Users and File Permissions Description: Create Local Users and Control File Permissions Purpose: Learn how to work with users and file permissions
Script # Users and File Permissions
Description: Create Local Users and Control File Permissions
Purpose: Learn how to work with users and file permissions
Instructions: Write a script that does the following:
Create a user on the server named Bill Jones
Create a second user on the server named Andy Smith
Create a folder in the root of the C: drive. Folder name is ProjectFolder
Create a file in the folder named ProjectFile.txt
User Bill Jones should be able to read and write the contents of the file
User Andy Smith should be able only read the file
No other users should be able to access the file
Script # Event Logs
Description: List the number of events in the Windows event logs
Purpose: Learn how to work with PowerShell and Windows event logs
Instructions: Write a script that does the following:
In the GUI, create a new user in AD on your server, called "logcheck" with a password of "password
Login as this user on your Windows client VM
Log off and login in as netstudent again.
Build a script that searches the logs for all the "logcheck" user entries.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
