Shell Function Commands
Shell function commands are subroutines that you can create and have available throughout the current
PowerShell session. If a block of code is often re-used in the main code, then you can create a function
and call the function wherever necessary within the main code.
function Proces{Get-Process} process
First Proces= is a Function name...and this name contain the property ... like as get-process
second proces function call
Shell function commands are subroutines that you can create and have available throughout the current
PowerShell session. If a block of code is often re-used in the main code, then you can create a function
and call the function wherever necessary within the main code.
function Proces{Get-Process} process
First Proces= is a Function name...and this name contain the property ... like as get-process
second proces function call