PowerShell Programming, In 8 Hours, For Beginners! by Yao Ray

PowerShell Programming, In 8 Hours, For Beginners! by Yao Ray

Author:Yao, Ray [Yao, Ray]
Language: eng
Format: epub
Publisher: Ray Yao 's eBooks & Books
Published: 2020-03-20T16:00:00+00:00


Hello Mr. Andy

Hello Ms. Rosy

Explanation:

“Hello Andy -male” specifies a switch parameter “-male”.

“Hello Rosy -female” specifies a switch parameter “-female”.

Filter Function

Filter function can filter the content by pipeline symbol “|”.

To define a Filter function:

filter func_name(){

}

To call a Filter function:

command | func_name

Example 5.9

filter myFunc() { # define a filter

# want to only show the files with extension . exe

if ($_.extension -eq ".exe") { $_ }

}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.