1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-07-06 15:40:04 +02:00

Update README.md

This commit is contained in:
Markus Fleschutz
2020-11-30 16:41:46 +01:00
committed by GitHub
parent fdd40730c2
commit 293db1f2a4

@ -84,7 +84,7 @@ Conventions Used
---------------- ----------------
Each PowerShell script should follow the 7 golden rules: Each PowerShell script should follow the 7 golden rules:
* **Rule 1:** the script filename should be named "<verb>-<object>.ps1" * **Rule 1:** the script filename should be named `<verb>-<object>.ps1`
* **Rule 2:** to support PowerShell on Linux the first line reads: #!/snap/bin/powershell * **Rule 2:** to support PowerShell on Linux the first line reads: #!/snap/bin/powershell
* **Rule 3:** to support PowerShell on Linux the script has execute file permissions (chmod a+rx <file>) * **Rule 3:** to support PowerShell on Linux the script has execute file permissions (chmod a+rx <file>)
* **Rule 4:** add a metadata header containing the syntax, description, author, source, and license * **Rule 4:** add a metadata header containing the syntax, description, author, source, and license