Intro to Powershell 2

When creating a user the password must be stored as what?
-AsSecureString
-AsAPassword
-AsEncryptedString
-AsSecureString
Why do we stored the user's password as a secure string?
To hide the user's input and securely store the password
PowerShell enforce it by default
For easier authentication
To ensure the user can be monitored
To hide the user's input and securely store the password
Would the user Adam be created correctly with the following command? "New-LocalUser "Adam" -Password $Password -FullName "Adam Higgins" -Description "IT Support""
Yes
The username wouldn't be accepted
The description is wrong
Yes
What is the CMDLet used to add a user to a local group?
Add-LocalGroupMember
Add-LocalUserToGroup
Input-User
Addition-ToGroup
Add-LocalGroupMember
Which command would add a user to the local Administrators group?
Add-LocalGroupMember -Group "Administrators" -Member "Adam"
Add-LocalGroupMember -Group "Guest" -Member "Adam"
Add-User -Group "Administrators" -Member "Adam"
Add-LocalGroupMember -Group "Administrators"
Add-LocalGroupMember -Group "Administrators" -Member "Adam"
What is the highest user available in Windows?
NT AUTHORITY/System
Standard User
Anyone in the IT Group
NT AUTHORITY/System
What command can be used to run a command as another user?
runas
runuser
runprogamas
run-user
runas
What command will open PowerShell as an Administrator in a new window?
Start-Process Powershell -Verb runAs
Start-Process Powershell
Start-Process CMD -Verb runAs
Start-PowerShell Powershell -Verb runAs
Start-Process Powershell -Verb runAs
What CMDLet is used to view Access Control Lists (ACL)?
Get-Acl
List-Access
List-Acl
View-ChildItem
Get-Acl
What funciton can we use to filter the output of Get-Acl for the "owner"?
| select "owner"
| "owner" -highlight
| View-Owner
| select "owner"
Which command would view the permissions of NGSPowershell and filter the owner?
Get-Acl NGSPowershell | select "owner"
Get-Acl NGSPowershell | view "owner"
Get-Access NGSPowershell | select "owner"
Get-Acl NGSPowershell | select ""
Get-Acl NGSPowershell | select "owner"
Your Score
Score Label
Score Summary