summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index baedcd4..a63991c 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,12 @@
# windows-scripts
small collection of scripts i use when (re)installing windows
+
+## how to run
+
+after downloading this repo, open powershell as admin and run this command in the directory: `Get-Item *.ps1 | Unblock-File`
+
+> [!NOTE]
+> the `Unrestricted` execution policy should not be permanently set, this is why we're using `-Scope Process`
+
+if this doesn't allow you to execute the scripts, use `Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process` and try again