FUNDAMENTALS OF COMPUTER

OPERATING SYSTEMS FOR COMPUTERS

COMMAND LINE INTERFACE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which command would you enter to find all Google services currently running?
A
getserv > google
B
get-service < where {"google"}
C
get-service | where-object {$ ____ displayname-match “goog"}
D
get-serv > where | object {displayname = “google"}
Explanation: 

Detailed explanation-1: -To find the service name and display name of each service on your system, type Get-Service . The service names appear in the Name column, and the display names appear in the DisplayName column.

Detailed explanation-2: -The Get-Command cmdlet offers various options to search for the available cmdlets on your computer. This command will search for all executables in all folders that are stored in the Path environment variable.

Detailed explanation-3: -Find-Command can locate the command and module, then send the object to Install-Module .

Detailed explanation-4: -With Windows PowerShell, you can use the ComputerName parameter of the Get-Service cmdlet to get the services on remote computers. The ComputerName parameter accepts multiple values and wildcard characters, so you can get the services on multiple computers with a single command.

There is 1 question to complete.