1. What does Get-Service do? Junior A. run a command on a remote computer via PSRemoting B. read the newest System event-log entries (legacy cmdlet) C. list Windows services and their status D. read entries from the Security event log Reveal the answer + AI explanation — free account
2. Which command will list Windows services and their status? Junior A. Get-ADUser -Filter * B. Get-Help Get-Service C. Select-Object -First 5 D. Get-Service Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. Get-Service — read entries from the Security event log B. Get-Service — list running processes C. Get-Service — list Windows services and their status D. Get-Service — list the properties and methods of pipeline objects Reveal the answer + AI explanation — free account
4. What does Get-Process do? Junior A. list Windows services and their status B. read the newest System event-log entries (legacy cmdlet) C. list running processes D. find cmdlets whose name matches a pattern Reveal the answer + AI explanation — free account
5. Which command will list running processes? Junior A. Get-Help Get-Service B. Get-Process C. Select-Object -First 5 D. Get-EventLog -LogName System -Newest 20 Reveal the answer + AI explanation — free account
6. Which statement is correct? Junior A. Get-Process — take the first five objects from the pipeline B. Get-Process — run a command on a remote computer via PSRemoting C. Get-Process — write objects to a CSV file D. Get-Process — list running processes Reveal the answer + AI explanation — free account
7. What does Get-ADUser -Filter * do? Mid A. query Active Directory user accounts B. show help for a cmdlet C. write objects to a CSV file D. restart a named Windows service Reveal the answer + AI explanation — free account
8. Which command will query Active Directory user accounts? Mid A. Sort-Object CPU -Descending B. Get-Process C. Test-Path C:\\temp D. Get-ADUser -Filter * Reveal the answer + AI explanation — free account
9. Which statement is correct? Mid A. Get-ADUser -Filter * — query Active Directory user accounts B. Get-ADUser -Filter * — open a persistent remoting session to a host C. Get-ADUser -Filter * — restart a named Windows service D. Get-ADUser -Filter * — find cmdlets whose name matches a pattern Reveal the answer + AI explanation — free account
10. What does Invoke-Command -ComputerName X -ScriptBlock {…} do? Mid A. show help for a cmdlet B. run a command on a remote computer via PSRemoting C. check whether a file or folder path exists D. read entries from the Security event log Reveal the answer + AI explanation — free account
11. Which command will run a command on a remote computer via PSRemoting? Mid A. Sort-Object CPU -Descending B. New-PSSession -ComputerName X C. Invoke-Command -ComputerName X -ScriptBlock {…} D. Export-Csv -NoTypeInformation Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. Invoke-Command -ComputerName X -ScriptBlock {…} — run a command on a remote computer via PSRemoting B. Invoke-Command -ComputerName X -ScriptBlock {…} — open a persistent remoting session to a host C. Invoke-Command -ComputerName X -ScriptBlock {…} — list Windows services and their status D. Invoke-Command -ComputerName X -ScriptBlock {…} — sort pipeline objects by a property descending Reveal the answer + AI explanation — free account
13. What does Get-WinEvent -LogName Security do? Junior A. check whether a file or folder path exists B. read the newest System event-log entries (legacy cmdlet) C. read entries from the Security event log D. list the properties and methods of pipeline objects Reveal the answer + AI explanation — free account
14. Which command will read entries from the Security event log? Junior A. Test-Path C:\\temp B. Get-Help Get-Service C. Get-WinEvent -LogName Security D. Restart-Service Spooler Reveal the answer + AI explanation — free account
15. Which statement is correct? Junior A. Get-WinEvent -LogName Security — open a persistent remoting session to a host B. Get-WinEvent -LogName Security — list Windows services and their status C. Get-WinEvent -LogName Security — check whether a file or folder path exists D. Get-WinEvent -LogName Security — read entries from the Security event log Reveal the answer + AI explanation — free account
16. What is $_ (PSItem) ? Mid A. the current pipeline object inside a Where-Object/ForEach-Object block B. Desired State Configuration — declarative config management in PowerShell C. allow local scripts but require remote scripts to be signed D. -eq, -ne, -gt, -lt, -like, -match used in filters Reveal the answer + AI explanation — free account
17. Which term means: "the current pipeline object inside a Where-Object/ForEach-Object block"? Mid A. DSC B. JEA C. $_ (PSItem) D. pipeline Reveal the answer + AI explanation — free account
18. Which statement is correct? Mid A. $_ (PSItem) — Just Enough Administration — constrained delegated PowerShell endpoints B. $_ (PSItem) — Desired State Configuration — declarative config management in PowerShell C. $_ (PSItem) — allow local scripts but require remote scripts to be signed D. $_ (PSItem) — the current pipeline object inside a Where-Object/ForEach-Object block Reveal the answer + AI explanation — free account
19. What is Set-ExecutionPolicy RemoteSigned ? Mid A. the current pipeline object inside a Where-Object/ForEach-Object block B. allow local scripts but require remote scripts to be signed C. passing objects (not text) from one cmdlet to the next D. Desired State Configuration — declarative config management in PowerShell Reveal the answer + AI explanation — free account
20. Which term means: "allow local scripts but require remote scripts to be signed"? Mid A. JEA B. DSC C. comparison operators D. Set-ExecutionPolicy RemoteSigned Reveal the answer + AI explanation — free account
21. Which statement is correct? Mid A. Set-ExecutionPolicy RemoteSigned — passing objects (not text) from one cmdlet to the next B. Set-ExecutionPolicy RemoteSigned — allow local scripts but require remote scripts to be signed C. Set-ExecutionPolicy RemoteSigned — the current pipeline object inside a Where-Object/ForEach-Object block D. Set-ExecutionPolicy RemoteSigned — -eq, -ne, -gt, -lt, -like, -match used in filters Reveal the answer + AI explanation — free account
22. What does Get-Help Get-Service do? Junior A. show help for a cmdlet B. query Active Directory user accounts C. open a persistent remoting session to a host D. read the newest System event-log entries (legacy cmdlet) Reveal the answer + AI explanation — free account
23. Which command will show help for a cmdlet? Junior A. Export-Csv -NoTypeInformation B. New-PSSession -ComputerName X C. Get-Help Get-Service D. Get-Member Reveal the answer + AI explanation — free account
24. Which statement is correct? Junior A. Get-Help Get-Service — sort pipeline objects by a property descending B. Get-Help Get-Service — query Active Directory user accounts C. Get-Help Get-Service — show help for a cmdlet D. Get-Help Get-Service — find cmdlets whose name matches a pattern Reveal the answer + AI explanation — free account
25. What does Get-Command *service* do? Junior A. read entries from the Security event log B. run a command on a remote computer via PSRemoting C. restart a named Windows service D. find cmdlets whose name matches a pattern Reveal the answer + AI explanation — free account
26. Which command will find cmdlets whose name matches a pattern? Junior A. Restart-Service Spooler B. Test-Path C:\\temp C. Get-Command *service* D. Invoke-Command -ComputerName X -ScriptBlock {…} Reveal the answer + AI explanation — free account
27. Which statement is correct? Junior A. Get-Command *service* — open a persistent remoting session to a host B. Get-Command *service* — find cmdlets whose name matches a pattern C. Get-Command *service* — list the properties and methods of pipeline objects D. Get-Command *service* — read entries from the Security event log Reveal the answer + AI explanation — free account
28. What does Get-Member do? Junior A. list the properties and methods of pipeline objects B. read the newest System event-log entries (legacy cmdlet) C. write objects to a CSV file D. restart a named Windows service Reveal the answer + AI explanation — free account
29. Which command will list the properties and methods of pipeline objects? Junior A. New-PSSession -ComputerName X B. Get-ADUser -Filter * C. Get-Member D. Restart-Service Spooler Reveal the answer + AI explanation — free account
30. Which statement is correct? Junior A. Get-Member — check whether a file or folder path exists B. Get-Member — list the properties and methods of pipeline objects C. Get-Member — read the newest System event-log entries (legacy cmdlet) D. Get-Member — open a persistent remoting session to a host Reveal the answer + AI explanation — free accountShowing 30 of 63 Windows · PowerShell questions — the full set, with answers, explanations and an AI tutor on every question, is inside.