From 958265793c7b4fce5ea35f3e3fb1763ac811e13e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 7 Apr 2021 11:37:16 +0200 Subject: [PATCH] Update FAQ.md --- Misc/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/FAQ.md b/Misc/FAQ.md index 41cc376a..162d7e45 100644 --- a/Misc/FAQ.md +++ b/Misc/FAQ.md @@ -63,7 +63,7 @@ How to write good PowerShell Scripts? Each PowerShell script should follow the 10 golden rules: 1. the filename should be named `-.ps1` -2. the first line reads `#!/bin/powershell` (to support Linux) +2. the first line reads `#!/usr/bin/pwsh` (to support Linux) 3. the script has execute file permissions: chmod a+rx (to support Linux) 4. provide a comment-based help with syntax, description, link, author, and license 5. check the requirements (e.g. #Requires -RunAsAdministrator, or #Requires -Version 3)