0

I have a simple powershell file that removes some files with a particular name. I can double-click to run the file which briefly shows the powershell window but it doesn't work. It works if I open a non-admin powershell window and dot-source it or run from the ISE. The file is not blocked and I created it on my local computer. If I add "Pause" to the beginning of the file it still crashes without doing anything which tells me this isn't a problem with the script and is more that Powershell has a problem with me running the script.

Some Thing
  • 21
  • 4

0 Answers0