In reply to Keith Johnson.

I can both scripts to work at the PowerShell prompt level but in SAS they both fail with shown rights in SAS. (see both versions)
filename process pipe "powershell Set-ExecutionPolicy –Scope CurrentUser Unrestricted -File""Z:\File_System_Search\Rep-
Search\File_Extension_Search_for_rep_Script_PowerShell_with_last_modified.ps1""";

filename process pipe "powershell -noprofile -executionpolicy bypass -File""Z:\File_System_Search\Rep-Search\File_Extension_Search_for_rep_Script_PowerShell_with_last_modified.ps1""";

CurrentUser Unrestricted seems like a higher level of access but and give no error log reason why.
-perplexed 8]