Question: as soon as possible Which character indicates a redirect that indicates that data is written or redirected to a file? OL What are two ways












Which character indicates a redirect that indicates that data is written or redirected to a file? OL What are two ways of extending a powershell? PSSnapins O Modules O Both A and B None Question 13 (0.5 points) What is the command to write something to the console display? write-host draw-host - draw-output O output-host what command clears the console CLR O CLEAR-SCREEN CLEARS CLEAR Question 15 (0.5 points) Basic element of powershell command is : O A command O A shell O A command-let A cmdlet How can you remove a variable? By setting it to N/A by using remove-variable By setting it to null By setting it to o Ruestion 17 (0.5 points) What PowerShell cmdlet should you use to get help with other commands? help-command commandname $GETHELP -help get-help What does a pipe do? It takes the output of the right side of the symbol and passes it to the left side of it joins two variables It takes the output of the left side of the symbol and passes it to the right side of it. does nothing but attaches 2 variable Question 19 (0.5 points) What are the types of brackets used in PowerShell? all of these Square Brackets () [] Braces Brackets | Parenthesis Brackets () What is the "for" statement used for? This is a command used for looping This is a command used to define variables This command looping and doing all other sort of tasks This is a command used for decision making Question 21 (0.5 points) What is an array type variable? A variable with multiple values with the first being indexed as 0 and the next as 1 and so on A string of text a decimal number a whole number Powershell is a scripting language and is true that its based on dot net framework. True False Question 23 (0.5 points) What does the foreach statement do? loops a condition based on the syntax foreach (condition)(condition) loops a condition based on the syntax foreach (condition) (output) loops a condition based on the syntax foreach (condition) loops a condition based on the syntax foreach (condition) (imput)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
