If you ever want to start an argument with programmers or scripters, mention your preferred code or script formatting habit.
A tweet about the PowerShell backtick continuation character or the placement of comment-based help for a function will elicit enough…
Read More
With release of the v4.2.83 build of PowerShell Studio 2015, we introduced new features which we will cover in detail over a series of articles.
This first feature added was in response to user feedback.
Parameter Block Formatting
Three new…
Read More
In order to start the planning stages of the next version of PrimalForms, we decided to conduct a review the current version. After gathering user feedback on the subject, we concluded that the script formatting needed a makeover to make…
Read More
Develop a standard for formatting your scripts, and use indentation.
Function MyFunction {
# function code here
}
…or…
Function MyFunction
{
# function code here
}…
Read More
This is a REALLY common question, and if you have any experience with VBScript, or Perl, or some similar scripting language, you’ll go down completely the wrong path. The thing to remember is that PowerShell already knows how to format…
Read More