Microsoft.PowerShell.Comman ...


WhereObjectCommand Class
The Where-Object cmdlet class that is implemented by Windows PowerShell. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.


Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in system.management.automation.dll)
Usage

Dim instance As WhereObjectCommand
Syntax

Visual Basic
<CmdletAttribute("Where", "Object")> _
Public NotInheritable Class WhereObjectCommand
    Inherits PSCmdlet
C#
[CmdletAttribute("Where", "Object")] 
public sealed class WhereObjectCommand : PSCmdlet
C++
[CmdletAttribute(L"Where", L"Object")] 
public ref class WhereObjectCommand sealed : public PSCmdlet
J#
/** @attribute CmdletAttribute("Where", "Object") */ 
public final class WhereObjectCommand extends PSCmdlet
JScript
CmdletAttribute("Where", "Object") 
public final class WhereObjectCommand extends PSCmdlet
Remarks

This cmdlet creates a filter that controls which objects will be passed along a pipeline. For more information about this cmdlet, see Where-Object in the Microsoft TechNet library.

For Help at the command line, type:

get-help where-object


Inheritance Hierarchy

System.Object
   System.Management.Automation.Internal.InternalCommand
     System.Management.Automation.Cmdlet
       System.Management.Automation.PSCmdlet
        Microsoft.PowerShell.Commands.WhereObjectCommand
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2
See Also

Page view tracker