If I set execution policy to unrestricted at least it runs but I still get 
about 10 security warnings

Run only scripts that you trust. While scripts from the Internet can be 
useful, this script can potentially harm your
computer. Do you want to run C:\Program Files\Neo4j CE 
2.3.1\bin\Neo4j-Management\Set-Neo4jSetting.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): r

Security Warning
Run only scripts that you trust. While scripts from the Internet can be 
useful, this script can potentially harm your
computer. Do you want to run C:\Program Files\Neo4j CE 
2.3.1\bin\Neo4j-Management\Start-Neo4jArbiter.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): r

Security Warning
Run only scripts that you trust. While scripts from the Internet can be 
useful, this script can potentially harm your
computer. Do you want to run C:\Program Files\Neo4j CE 
2.3.1\bin\Neo4j-Management\Start-Neo4jBackup.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): r

Security Warning
Run only scripts that you trust. While scripts from the Internet can be 
useful, this script can potentially harm your
computer. Do you want to run C:\Program Files\Neo4j CE 
2.3.1\bin\Neo4j-Management\Start-Neo4jImport.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): r

Security Warning
Run only scripts that you trust. While scripts from the Internet can be 
useful, this script can potentially harm your
computer. Do you want to run C:\Program Files\Neo4j CE 
2.3.1\bin\Neo4j-Management\Start-Neo4jServer.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): r

Security Warning
Run only scripts that you trust. While scripts from the Internet can be 
useful, this script can potentially harm your
computer. Do you want to run C:\Program Files\Neo4j CE 
2.3.1\bin\Neo4j-Management\Start-Neo4jShell.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): r

Security Warning
Run only scripts that you trust. While scripts from the Internet can be 
useful, this script can potentially harm your
computer. Do you want to run C:\Program Files\Neo4j CE 
2.3.1\bin\Neo4j-Management\Stop-Neo4jArbiter.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): r

Security Warning
Run only scripts that you trust. While scripts from the Internet can be 
useful, this script can potentially harm your
computer. Do you want to run C:\Program Files\Neo4j CE 
2.3.1\bin\Neo4j-Management\Stop-Neo4jServer.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): r

Security Warning
Run only scripts that you trust. While scripts from the Internet can be 
useful, this script can potentially harm your
computer. Do you want to run C:\Program Files\Neo4j CE 
2.3.1\bin\Neo4j-Management\Uninstall-Neo4jArbiter.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): r

Security Warning
Run only scripts that you trust. While scripts from the Internet can be 
useful, this script can potentially harm your
computer. Do you want to run C:\Program Files\Neo4j CE 
2.3.1\bin\Neo4j-Management\Uninstall-Neo4jServer.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): r

Is there anyway to run all the scripts associated with the import command 
without having to type a response for all of these warnings. Not only is 
the import required each time I need to start the neo4j server but all of 
these prompts takes alot of time. Needless to say in order to get it to 
work at all I have to set the execution policy to unrestricted. All not 
good. Please revisit the Windows setup.

Thank you.


On Monday, December 28, 2015 at 7:58:52 AM UTC-6, Kevin Burton wrote:
>
> I cannot seem to get the powershell commands to work. I do the following:
>
> PS C:\Program Files\Neo4j CE 2.3.1\bin> *Set-ExecutionPolicy remotesigned*
>
> Execution Policy Change
> The execution policy helps protect you from scripts that you do not trust. 
> Changing the execution policy might expose
> you to the security risks described in the about_Execution_Policies help 
> topic. Do you want to change the execution
> policy?
> [Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y
>
> PS C:\Program Files\Neo4j CE 2.3.1\bin> *Import-Module 
> .\Neo4j-Management.psd1*
> Import-Module : File C:\Program Files\Neo4j CE 
> 2.3.1\bin\Neo4j-Management\Neo4j-Management.psm1 cannot be loaded. The f
> ile C:\Program Files\Neo4j CE 
> 2.3.1\bin\Neo4j-Management\Neo4j-Management.psm1 is not digitally signed. 
> The script will
>  not execute on the system. Please see "get-help about_signing" for more 
> details..
> At line:1 char:14
> + Import-Module <<<<  .\Neo4j-Management.psd1
>     + CategoryInfo          : NotSpecified: (:) [Import-Module], 
> PSSecurityException
>     + FullyQualifiedErrorId : 
> RuntimeException,Microsoft.PowerShell.Commands.ImportModuleCommand
>
>
> The batch (.bat files) that cam as part of the download give me a wrning 
> that they have been deprecated and try to run anyway but in the case of the 
> start server as a service (install) I get a timeout error and the service 
> fails to start.
>
> Ideas?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to