Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 4. Windows PowerShell Functions, Parameters, Sourcing, Scopes, and U...

Chapter 4. Windows PowerShell Functions, Parameters, Sourcing, Scopes, and User Profiles

In any programming language, code reusability is both common and important. It increases productivity and decreases the need to write redundant code blocks. Another important basic functionality in any programming language is the scope of variables and functions.

This chapter focuses on the reusability of PowerShell scripting. You will learn how to reuse code blocks through functions, sourcing files, and user profiles. You will also be introduced to variable scopes and function scopes. Finally, this chapter also covers transcripts.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial