PowerShell Session 2
PowerShell Session 2
Understanding
of PowerShell
Topic
Filtration
Difference between $_ and $_.
Select-Object
Get-Member
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.
Output of preceding command (pervious
command) becomes input of next
Where-Object
command.
Example :-
Get-Service -name “Windows Update” |
stop - service
It’s used to test more than 2 Object at time.
Filter Script done by $ (Variable)
Arithmetic Operators
Assignment Operators
PowerShell Comparison Operators
Operators Logical Operators
Redirection Operators
Spilt and Join Operators
Type Operators
Unary Operators