Question: Question 1 ( 2 0 points ) Listen What command would you use to remove a user from a local group using PowerShell? Question 1

Question 1(20 points)
Listen
What command would you use to remove a user from a local group using PowerShell?
Question 1 options:
Delete-LocalGroupUser
Remove LocalGroupUser
Remove-LocalGroupMember
Remove-LocalUser
Question 2(20 points)
Listen
Using PowerShell, which command will display the last time a password was set for the account Ayoung?
Question 2 options:
Get-LocalUser -Name 'AYoung' | Select-Object PasswordLastSet
All of the responses will display the last time a password was reset for this user.
Get-LocalUser -Name Ayoung' |-Parameter -PassReset
Get-LocalUser Ayoung PasswordLastSet
Question 3(20 points)
Listen
When creating a local user account, never type in the password as plain text; always convert it to a secure string in your PowerShell script.
Question 3 options:
TrueFalse
Question 4(20 points)
Listen
Which properties are displayed from the following PowerShell commend? Get-LocalUser -Name "Bhazen" | Select-Object * Select the best response.
Question 4 options:
AccountExpires
LastLogon
All of the answers are correct.
FullName
Question 5(20 points)
Listen
PowerShell only allows a service to be started and stopped. There isn't a method to restart a service that is already running in PowerShell.
Question 5 options:
TrueFalse

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 Programming Questions!