summaryrefslogtreecommitdiff
path: root/docs/fix_powershell.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/fix_powershell.md')
-rw-r--r--docs/fix_powershell.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/fix_powershell.md b/docs/fix_powershell.md
new file mode 100644
index 0000000..91292b6
--- /dev/null
+++ b/docs/fix_powershell.md
@@ -0,0 +1,21 @@
+# Fix PowerShell
+
+Scripts may show an error related to Powershell not working.
+
+---
+
+## ConstrainedLanguage
+
+- If the script is showing `ConstrainedLanguage` in error output then open the command prompt as admin and enter,
+
+```
+reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "__PSLockdownPolicy" /f
+```
+
+- Retry the script, the error should be fixed.
+
+---
+
+## Other Errors
+
+Please connect with us [here](troubleshoot.md).