mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-25 17:33:17 +01:00
Update FAQ.md
This commit is contained in:
parent
737ddf7b05
commit
39258d67c8
@ -86,7 +86,7 @@ How to write good PowerShell scripts?
|
||||
Good PowerShell scripts are user-friendly and platform-independent. As a guideline follow these rules, please:
|
||||
|
||||
1. Use the `<verb>-<object>.ps1` scheme to name the script.
|
||||
2. Use UTF-8 BOM encoding to support Unicode characters in the script.
|
||||
2. Use *UTF-8 BOM* encoding to support Unicode characters in the script.
|
||||
3. Set *execute* file permissions for Linux: `chmod a+rx <filename>`
|
||||
4. Add a comment-based help at the beginning with synopsis, description, parameters, link, author, and license.
|
||||
5. Check the requirements for the script, e.g. `#Requires -RunAsAdministrator`, or `#Requires -Version 3`
|
||||
|
Loading…
Reference in New Issue
Block a user