mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-06 14:55:24 +02:00
where-object: add Spanish translation (#16936)
This commit is contained in:
parent
364e22d109
commit
2c3aacf872
1 changed files with 17 additions and 0 deletions
17
pages.es/windows/where-object.md
Normal file
17
pages.es/windows/where-object.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Where-Object
|
||||
|
||||
> Selecciona objetos de una colección basándose en los valores de sus propiedades.
|
||||
> Nota: Este comando solo puede utilizarse a través de PowerShell.
|
||||
> Más información: <https://learn.microsoft.com/powershell/module/microsoft.powershell.core/where-object>.
|
||||
|
||||
- Filtra alias por su nombre:
|
||||
|
||||
`Get-Alias | Where-Object -{{Propiedad}} {{Nombre}} -{{eq}} {{nombre}}`
|
||||
|
||||
- Lista todos los servicios que están actualmente detenidos. La variable automática `$_` representa cada objeto que se pasa al cmdlet `Where-Object`:
|
||||
|
||||
`Get-Service | Where-Object {$_.Status -eq "Stopped"}`
|
||||
|
||||
- Utiliza múltiples condiciones:
|
||||
|
||||
`Get-Module -ListAvailable | Where-Object { $_.Name -NotLike "Microsoft*" -And $_.Name -NotLike "PS*" }`
|
Loading…
Add table
Reference in a new issue