

MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Structured Query Language (SQL) knowledge and support exam preparation. Choose a topic below to get started.
1. |
CODE_FOR_CREATING_AN_HTML_REPORT_THAT_LISTS_THE_NAME_OF_EACH_SERVICE_ALONG_WITH_ITS_STATUS_IS_:?$ |
A. | Get-Ser | ConvertTo-HTML -Property Name, Status > C:\services.htm |
B. | Get-Service | Property Name, Status > C:\services.htm |
C. | Get-Service | ConvertTo-HTML -Property Name, Status > C:\services.htm |
D. | All of the mentioned |
Answer» D. All of the mentioned | |
2. |
Unrestricted execution policy can be set up in SQL Server can be done using ? |
A. | Set-ExecutionPolicy Unrestricted |
B. | Set-Policy Unrestricted |
C. | Set-Policy Unrestricted |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
3. |
Syntax for viewing the methods and properties we can pipe our output to Get-Member by : |
A. | Get-Process |
B. | Get-Member |
C. | Get-Process | Get-Member |
D. | All of the mentioned |
Answer» B. Get-Member | |
4. |
Text editor with “Hello world” scripted$ |
A. | Text editor with “Hello” scripted |
B. | Text editor with no script |
C. | All of the mentioned |
Answer» B. Text editor with no script | |
5. |
___________ convert object properties into CSV objects. |
A. | ConvertFrom-CSV |
B. | Convert-CSV |
C. | ConvertFromCSV |
D. | All of the mentioned |
Answer» B. Convert-CSV | |
6. |
Which of the following command is used to get child items in powershell ? |
A. | Get-Child |
B. | Set-Alias |
C. | Get-Command |
D. | Get-ChildItem |
Answer» E. | |