From a66edb771502d36c67e50977dca20b414e767f55 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 6 Mar 2024 17:12:26 -0500 Subject: split up scripts --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.md') 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 -- cgit v1.2.3