click below
click below
Normal Size Small Size show me how
TestOut Server 2016
TestOut Server 2016 install & Storage Terms Def / Q&A Chapter 3 Config & Manag.
| Question | Answer |
|---|---|
| What is the typical PowerShell command format? | |
| How can you access the cmdlet help system? | |
| How can you cycle through cmdlet options? | |
| When writing a script, how can you import a PowerShell module? | |
| What does the PowerShell Desired State Configuration (DSC) feature allow administrators to do? | |
| Command Line | The command line refers to the command line interface (CLI) used to interact with a computer. Commands are entered at the command prompt. |
| Cmdlets | Cmdlets (pronounced command-lets) are commands that an administrator enters at the PowerShell prompt to perform system management tasks. |
| Providers | Windows PowerShell providers allow you to access data stores, such as the registry and certificate store, in a way similar to how you access the file system. |
| You are creating a DSC configuration that will be used to install the IIS Web server on various servers on the network. In the script below, click the line that installs the Web Server role on the target server. | In the script shown in this scenario, the WindowsFeature line is used to specify which DSC provider should be used. In this case, WindowsFeature is used to install the IIS role on the target server. The keyword Configuration defines a new DSC configuration and creates a consumable MOF file. The keyword param defines a variable that can be populated from the command line when the configuration is called in a script. The keyword Node specifies the target systems the DSC configuration will be applied to. |
| You are creating a DSC configuration that will be used to install the IIS Web server on various servers on the network. In the script below, click the line that creates a consumable MOF file. | The keyword Configuration defines a new DSC configuration and creates a consumable MOF file. In the script shown in this scenario, a folder named AddIIS will be created containing the MOF output file when the configuration function is called in a script. The WindowsFeature line is used to specify which DSC provider should be used. The keyword param defines a variable that can be populated from the command line when the configuration is called in a script. |
| Which is the typical syntax of a PowerShell command? | verb-noun -adverb |
| You are managing a Windows server. You type the PowerShell verb new followed by a dash (new -). At this point, you are not sure which options this command supports. Which key(s) can you press to cycle through the available options? | Tab |
| Which PowerShell command would you use to get help for a particular cmdlet? | get-help cmdletname |
| Which of the following are used in PowerShell to specify an option in the command? | Flags |
| Which of the following PowerShell cmdlets is used to retrieve information about an existing object? | get |