Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems 6th Asian Conference Aciids 2014 Bangkok Thailand April 7 9 2014 Proceedings Part I 9 2014 Proceedings Part 1 Lnai 8397

Authors: Ngoc-Thanh Nguyen ,Boonwat Attachoo ,Bogdan Trawinski ,Kulwadee Somboonviwat

2014th Edition

3319054759, 978-3319054759

More Books

Students also viewed these Databases questions

Question

1. Define mass and mediated communication

Answered: 1 week ago