Answered step by step
Verified Expert Solution
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
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 SetExecutionPolicy cmdlet. If your policy is set
this way, run PowerShell as an Administrator and change it to RemoteSigned
Display the current date and time on your machine
List all services on your machine
List all running services on your machine
List all members of the local Administrators group
List all users on your machine
List all groups on your machine
Create a new user called User add a description, and specify no password
Once created, write a script to delete it
Show the security descriptor acl of the C:Windows directory. For Mac users,
use the Users directory.
Create a new file called testtxt 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started