Question: 1 . Display the current execution policy of PowerShell. Execution Policy determines how ( or if ) PowerShell will run scripts. By default, PowerShell's execution

1. Display the current execution policy of PowerShell.
Execution Policy determines how (or if) PowerShell will run scripts. By default,
PowerShell's execution policy is set to Restricted, meaning that scripts will not
run. You can change it using the Set-ExecutionPolicy cmdlet. If your policy is set
this way, run PowerShell as an Administrator and change it to RemoteSigned.
2. Display the current date and time on your machine
3. List all services on your machine
4. List all running services on your machine
5. List all members of the local Administrators group
6. List all users on your machine
7. List all groups on your machine
8. Create a new user called User01, add a description, and specify no password .
Once created, write a script to delete it.
9. Show the security descriptor (acl) of the C:\Windows directory. For Mac users,
use the /Users directory.
10.Create a new file called test.txt. Next, add Hello World! to the test.txt file.
Finally, read the contents of the test.txt file.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!