Computer Science, asked by ananthblaze, 1 year ago

Need help with Powershell questions
************************************************
those who only know all the answers please assist
*****************************************************************

1). Alias name of the Format-table is _________.
Answer:
FT
FL
FC
FW

2).To get customized output _________ cmdlet is used ____________.
Answer:
write-output
out-host
format-table
write-host

3).PowerShell variables are used to store _______.
Answer:
Strings only
Environmental objects only
Integers Only
Strings & Number objects

4).PowerShell cmdlets performs system administration tasks such as managing ______________.
Answer:
Event logs
all the options
process and services
WMI & registry

5).Sort-Object cmdlet is used to _______.
Answer:
Filter the objects from the list
Display the list of objects based on the selected property
Sort the list f the object based on the selected property
Perform an action on each object


6).Write-host is used to ______.
Answer:
Display host data
customize the utput formart
display messages in the powershell console
display output in the powershell console

7).Integrated scripting environment is ______ for PowerShell.
Answer:
Host application
Add-on Application
Guest Application

8).To run ".PS1" files, the execution policy must be set to __________.
Answer:
Forced
Restricted
Remote Signed
Locally Signed


9).Error Action Preference specifies the desired behavior for ___________ in PowerShell
Answer:
Both terminating and non-terminating errors
A terminating error
None of the options
a non terminating error

10).Variables starts with ______.
Answer:
"@"
"*"
"|"
"$"

11).PowerShell commands are case sensitive.
Answer:
False
True

12).In the command below, how will the value of the variable "$name" be set?
$ name=user1
Write-host "$name"
Answer:
Value will be supplied through a script file.
Value will be set by default
Value is already defined in the command
user will be prompted to key in

Answers

Answered by gopika3354
6
1. Ft
2. write-output
3. strings & number objects
4 .process & services
5. sort the list of the object based on the selected property
6. display host data
7. host application
8. restricted
9. a terminating error
10. $
11. false
12.value will be supplied through a script file

HOPE it will help you.
Answered by sanjaykumar1810
4
hey Bhai pls follow me and mark my answer...
here is your answer in the attachment... .
Attachments:
Similar questions