• PowerShell Best Practices To Follow When Coding
  • Specify The Variable Types Explicitly
  • Use Full Type Names Instead of Type Accelerators
  • Use Single Quotes Instead of Double Quotes Unless Absolutely Necessary
  • Use Full Cmdlet Names Instead of Aliases
  • Use Pascal Casing for Everything
  • Use Regions to Organize Your Code
  • Use Visual Studio Code PowerShell Extension For Automatic Best Practice Formatting
  • Refrain From Defining and Using Global Variables as Much as Possible
  • Use C# If You Need Custom Global Classes
  • How Would You Make PowerShell Classes Globally Available?
  • More Resources From Microsoft That You Should Check Out