PowerShellPracticeAndStyle
dbatools
PowerShellPracticeAndStyle | dbatools | |
---|---|---|
26 | 5 | |
2,141 | 2,337 | |
0.7% | 0.9% | |
5.4 | 9.2 | |
12 months ago | 5 days ago | |
PowerShell | ||
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PowerShellPracticeAndStyle
-
Quick deletion script for clearing out caches
B. Performance related: https://github.com/PoshCode/PowerShellPracticeAndStyle/blob/master/Best-Practices/Performance.md
-
PowerShell Code Standards - Priorities
I'd also suggest taking a look at https://github.com/PoshCode/PowerShellPracticeAndStyle
-
Where is the best place to learn Windows PowerShell?
There are likely other style guides to follow as well but I found this helpful when starting out: https://github.com/PoshCode/PowerShellPracticeAndStyle
-
Why does VS Code still have so many issues?
Of course I can move the else up behind the curly brace... and although it is listed as a best practice in this best practice guide, I find it ugly and crowds the code. Regardless, it is syntactically correct everywhere else, so why is VS Code being a jerk?
- The PowerShell Best Practices and Style Guide
- A Text To Speech Using Powershell.
-
PowerShell Best Practices for Expert Level
I recommened reading the The PowerShell Best Practices and Style Guide.
- what programming langue to learn.
- [off topic] why do folks "follow" others?
-
Variables naming best practices in Powershell
PoshCode/PowerShellPracticeAndStyle: The Unofficial PowerShell Best Practices and Style Guide — https://github.com/PoshCode/PowerShellPracticeAndStyle
dbatools
- Python vs Powershell on *nix Systems
- Große SQL Datenbank umziehen
-
Github pipelines/actions for .net build/deployment workflow?
dbatools (for deploying database changes)
- Looking for public powershell projects to learn best practices and as a reference
-
VS Code Syntax Highlighting
It's very rare I open files that big, but just for fun I took the 1k lines here: https://github.com/sqlcollaborative/dbatools/blob/development/dbatools.psm1 copied and pasted the code 37 times into a .ps1 file and opened it in ISE. ISE opened and highlighted it in like 1-2 seconds so the PS parser is clearly able to parse things quick enough for it to not matter.
What are some alternatives?
Pester - Pester is the ubiquitous test and mock framework for PowerShell.
ansible.windows - Windows core collection for Ansible
PowerShell-Beautifier - A whitespace reformatter and code cleaner for Windows PowerShell and PowerShell Core
PSWriteHTML - PSWriteHTML is PowerShell Module to generate beautiful HTML reports, pages, emails without any knowledge of HTML, CSS or JavaScript. To get started basics PowerShell knowledge is required.
PSKoans - A simple, fun, and interactive way to learn the PowerShell language through Pester unit testing.
aws-tools-for-powershell - The AWS Tools for PowerShell lets developers and administrators manage their AWS services from the PowerShell scripting environment.
Chocolatey - Chocolatey - the package manager for Windows
SqlServerDsc - This module contains DSC resources for deployment and configuration of Microsoft SQL Server.
ePOwerShell - This PowerShell module allows you to easily connect to and work with your McAfee ePO Server in PowerShell 5.0+.
vscode-powershell - Provides PowerShell language and debugging support for Visual Studio Code
RDSv3-to-CSV-Converter - An exe to convert RDSv3 DB Files back to CSV Files
PowerShellForGitHub - Microsoft PowerShell wrapper for GitHub API