Categories
User Help

Powershell won’t run ps1 files

Completely baffled by this. Can’t seem to run any ps1 files on powershell?? I know for sure it was working fine last week. Here is the error I’m getting. It suggests the file doesn’t exist, so I proved it does by using Test-Path first… PS C:\WINDOWS\system32> cd C:\Users\Public if (Test-Path test.ps1) { ./test.ps1 } ./test.ps1 […]