Screen space should be conserved as much as possible while still allowing code formatting to reflect logical structure and nesting. Here are a few suggestions:
Indent standard nested blocks by at least two spaces.
Block overview comments for a function by using the Windows PowerShell multiline comment feature.
Block the highest-level statements, with each nested block indented an additional two spaces.
You should align the begin and end script block brackets. This will make it easier to follow the code flow.
Avoid single-line statements. In addition to making it easier to follow the flow of the code, this also makes it easier when you end up searching for a missing curly bracket.
Break each pipelined object at the pipe. ...