How to Fix PowerShell Running Script is Disabled on this System

Ftr38

The error message you’re seeing, “PowerShell running script is disabled on this system,” typically occurs because PowerShell’s execution policy is set to restrict the running of scripts. The execution policy is a safety feature that controls the conditions under which PowerShell loads configuration files and runs scripts. Here’s how you can resolve this issue:

Read-Host Path With Space in PowerShell

Ftr38

We have a simple Powershell script to get items in a folder. We use the Read-Host cmdlet that catch the folder path input from the user and store path as as strings in a variable. This makes life easier as we can drag and drop rather than full typing the path.