Section courante

A propos

Section administrative du site

Where-Object

Où objet
PowerShell

Syntaxe

Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] [-EQ] [CommonParameters]
Where-Object [-InputObject PSObject] [-FilterScript] ScriptBlock [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -Match [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CEQ [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -NE [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CNE [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -GT [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CGT [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -LT [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CLT [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -GE [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CGE [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -LE [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CLE [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -Like [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CLike [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -NotLike [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CNotLike [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CMatch [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -NotMatch [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CNotMatch [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -Contains [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CContains [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -NotContains [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CNotContains [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -In [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CIn [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -NotIn [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -CNotIn [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -Is [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String [[-Value] Object] -IsNot [CommonParameters]
Where-Object [-InputObject PSObject] [-Property] String -Not [CommonParameters]

Description

Cette commande permet de sélectionner les objets d'une collection en fonction de leurs valeurs de propriété.



Dernière mise à jour : Jeudi, le 14 Janvier 2021