[jboss-jira] [JBoss JIRA] (WFCORE-3805) (7.1.z) Unable to pass any attribute to jboss-cli.ps1 script

Lin Gao (JIRA) issues at jboss.org
Mon May 7 00:41:02 EDT 2018


Lin Gao created WFCORE-3805:
-------------------------------

             Summary: (7.1.z) Unable to pass any attribute to jboss-cli.ps1 script
                 Key: WFCORE-3805
                 URL: https://issues.jboss.org/browse/WFCORE-3805
             Project: WildFly Core
          Issue Type: Bug
          Components: CLI, Scripts
            Reporter: Lin Gao
            Assignee: Jean-Francois Denise
             Fix For: 5.0.0.Alpha5


Unable to pass any attribute to jboss-cli.ps1 script

{noformat}
C:\wildfly\wildfly-12.0.0.Final\bin> PowerShell -ExecutionPolicy Bypass -File jboss-cli.ps1 --help
'--help-Dcom.ibm.jsse2.overrideDefaultTLS=true' is not a valid operation name.

C:\wildfly\wildfly-12.0.0.Final\bin> PowerShell -ExecutionPolicy Bypass -File jboss-cli.ps1 --version
'--version-Dcom.ibm.jsse2.overrideDefaultTLS=true' is not a valid operation name
.

C:\wildfly\wildfly-12.0.0.Final\bin> PowerShell -ExecutionPolicy Bypass -File jboss-cli.ps1 -c
'-c-Dcom.ibm.jsse2.overrideDefaultTLS=true' is not a valid operation name.

C:\wildfly\wildfly-12.0.0.Final\bin> PowerShell -ExecutionPolicy Bypass -File jboss-cli.ps1
You are disconnected at the moment. Type 'connect' to connect to the server or '
help' for the list of supported commands.
[disconnected /]
{noformat}

I am using PowerShell 4.0

{noformat}
PS C:\> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
4      0      -1     -1


PS C:\>
{noformat}

This behaviour is caused by this change:

https://github.com/wildfly/wildfly-core/blame/master/core-feature-pack/src/main/resources/content/bin/jboss-cli.ps1#L13



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list