Advance Filteration and Operator PowerShell Session 2
Advance Filteration and Operator PowerShell Session 2
Understanding
of PowerShell
Topic
Advance
Aliases
Select-Object
Filtration Get-Member
Sort-Object
Format-list and Table
It’s series of command connected by
pipeline Operators (|).
Output of preceding command (pervious
Pipeline command) becomes input of next
command.
Operator Example :-
Get-Service -name “Windows Update” |
stop - service
It will select objects based on the property
value.
Two type of Where-Object filtration
Operators
Assignment Operators
Redirection Operators
Spilt and Join Operators
Type Operators
Unary Operators
Comparison operators let you compare
values or finding values that match
specified patterns.
Operators
Matching
Replacement
Containment
Type
-eq, -ieq, -ceq - equals
-ne, -ine, -cne - not equals
Equality
-gt, -igt, -igt - greater than
-ge, -ige, -cge - greater than or equal
Operators -lt, -ilt, -clt - less than
-le, -ile, -cle - less than or equal