OPERATING SYSTEMS FOR COMPUTERS
COMMAND LINE INTERFACE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
getserv > google
|
|
get-service < where {"google"}
|
|
get-service | where-object {$ ____ displayname-match “goog"}
|
|
get-serv > where | object {displayname = “google"}
|
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.