When creating a user the password must be stored as what?
-AsSecureString
Why do we stored the user's password as a secure string?
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
What is the CMDLet used to add a user to a local group?
Add-LocalGroupMember
Which command would add a user to the local Administrators group?
Add-LocalGroupMember -Group "Administrators" -Member "Adam"
What is the highest user available in Windows?
NT AUTHORITY/System
What command can be used to run a command as another user?
runas
What command will open PowerShell as an Administrator in a new window?
Start-Process Powershell -Verb runAs
What CMDLet is used to view Access Control Lists (ACL)?
Get-Acl
What funciton can we use to filter the output of Get-Acl for the "owner"?
| select "owner"
Which command would view the permissions of NGSPowershell and filter the owner?
Get-Acl NGSPowershell | select "owner"