Symptom
While running .\sapserver.ps1 you are facing error:
--------------------------------------------------------
D:\> .\sapserver.ps1
.\sapserver.ps1 : File D:\<path>\sapserver.ps1 cannot be loaded. The file D:\<path>\sapserver.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
At line:1 char:1
+ .\sapserver.ps1
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
check powershell execution policy:
-------------------------
D:\> get-executionpolicy
RemoteSigned
Read more...
Environment
OS: Windows 2022 server
Database: Oracle 19c
Product
Keywords
sapserver.ps1 executionpolicy remoteSigned policy , KBA , BC-DB-ORA , Oracle , BC-OP-NT , Windows , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview