Saturday 18 May 2019

WARNING! Powershell script execution unavailable

C:\cassandra\bin>cassandra.bat start
WARNING! Powershell script execution unavailable.
Please use 'powershell Set-ExecutionPolicy Unrestricted'
on this user-account to run cassandra with fully featured
functionality on this platform.

https://stackoverflow.com/questions/29259347/cassandra-powershell-issue

Get-ExecutionPolicy -Scope CurrentUser

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser

///finally////
C:\cassandra\bin>cassandra.bat
Detected powershell execution permissions. Running with enhanced startup scripts.
///////for security reason // you can revoke after the execution of cassandra .bat
 

Set-ExecutionPolicy -ExecutionPolicy restricted -Scope CurrentUser


No comments:

Post a Comment