OPERATING SYSTEMS FOR COMPUTERS
COMMAND LINE INTERFACE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
where-is
|
|
what-is
|
|
where-object
|
|
what-object
|
Detailed explanation-1: -The Where-Object Cmdlet. the most commonly used cmdlets in PowerShell and probably the one most often used for filtering data. This cmdlet filters objects passed down the pipeline based on the search criteria you specify in a script block included with the cmdlet.
Detailed explanation-2: -The Where-Object cmdlet is a handy way to filter objects. In this tutorial, you will learn different ways to construct a Where-Object command, it’s available parameters, syntax, as well as how to use multiple conditions like a pro!
Detailed explanation-3: -To filter out the results of your choice, you can use PowerShell filter Where-Object cmdlet. Its syntax is given as: <PS-Object> | Where-Object [-Property] <name> [-Filter] <comparisonoperator> [-FilterValue] <value-name>.
Detailed explanation-4: -The Where-Object cmdlet selects objects that have particular property values from the collection of objects that are passed to it. For example, you can use the Where-Object cmdlet to select files that were created after a certain date, events with a particular ID, or computers that use a particular version of Windows.