Appendix A. PowerShell reference
This appendix supplies a number of templates, syntax formats, and other useful information that you can use when creating your PowerShell scripts.
There are a large number of variables that PowerShell automatically creates. The list can be seen by using
Reviewing the contents of this help file is highly recommended.
Use calculated fields to create new properties or to perform calculations:
The if and switch statements are used to control flow:
In the switch statement, use break in each statement block to prevent further processing.