-
Notifications
You must be signed in to change notification settings - Fork 17
Style Guide
Rob Sewell edited this page Jun 15, 2025
·
3 revisions
Here are a few things to keep in mind when programming for FabricTools.
The GitHub repo, FabricTools-templates is dedicated to templates for commands. You can also look to similar commands for templates. The code structure is as follows: Does the user need a table to be created? Create it for them and populate the database name (FabricTools) and table names with defaults.Program as if there is a solution. Locked out of your SQL Server because of a bad logon trigger? Program as though you can somehow populate a list of logon triggers, because we can probably find a way :D Let's work together to find a way.
You can find the PowerShell and Best Practice Style Guide at https://github.com/PoshCode/PowerShellPracticeAndStyle/. This is a great resource for writing PowerShell code that is consistent and easy to read.
You can find the PowerShell Learn Documentation at PowerShell Learn Documentation.