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

Update README.md

This commit is contained in:
Markus Fleschutz
2020-12-16 08:43:35 +01:00
committed by GitHub
parent 8d60bae710
commit 0594220187

@ -106,7 +106,7 @@ Script Conventions
Each PowerShell script should follow the 7 golden rules:
* **Rule #1:** the filename should be named `<verb>-<object>.ps1`
* **Rule #2:** the first line reads: #!/snap/bin/powershell (to support PowerShell on Linux)
* **Rule #2:** the first line reads `#!/snap/bin/powershell` to support PowerShell on Linux
* **Rule #3:** the script has execute file permissions (chmod a+rx <file>) to support PowerShell on Linux
* **Rule #4:** provide a metadata header with syntax, description, author, source, and license
* **Rule #5:** prefer command-line options, else ask the user