Windows Server 2012 Automation with PowerShell Cookbook
上QQ阅读APP看书,第一时间看更新

Chapter 1. Understanding PowerShell Scripting

In this chapter we will cover the following recipes:

  • Managing security on PowerShell scripts
  • Creating and using functions
  • Creating and using modules
  • Creating and using PowerShell profiles
  • Passing variables to functions
  • Validating parameters in functions
  • Piping data to functions
  • Recording sessions with transcripts
  • Signing PowerShell scripts
  • Sending e-mail
  • Sorting and filtering
  • Using formatting to export numbers
  • Using formatting to export data views
  • Using jobs
  • Dealing with errors in PowerShell
  • Tuning PowerShell scripts for performance
  • Creating and using Cmdlets