I executed Set-ExecutionPolicy RemoteSigned as per the suggestion yet nothing changes in the Get-ExecutionPolicy -List output. I still receive the following error...
.\UWScript.ps1: File C:\Users\user\Downloads\UnattendedWinstall-2.0.0\UWScript.ps1 cannot be loaded. The file C:\Users\trpar\Downloads\UnattendedWinstall-2.0.0\UWScript.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170.
@trparky Run Set-ExecutionPolicy Unrestricted in PowerShell and then try run the UWScript.ps1 file again.
You can also right click the file and select "Run with PowerShell."
This is my current setup...
I executed
Set-ExecutionPolicy RemoteSigned
as per the suggestion yet nothing changes in theGet-ExecutionPolicy -List
output. I still receive the following error....\UWScript.ps1: File C:\Users\user\Downloads\UnattendedWinstall-2.0.0\UWScript.ps1 cannot be loaded. The file C:\Users\trpar\Downloads\UnattendedWinstall-2.0.0\UWScript.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170.