Previously in the Settings JAVA_HOME with batch Settings JAVA_HOME with batch post, I had created a script in bash to change my JAVA_HOME
env variable. Since then, I have been trying to use more and more PowerShell so I recreated the script with PowerShell.
Previously in the Settings JAVA_HOME with batch post, I had created a script in bash to change my JAVA_HOME
env variable. Since then, I have been trying to use more and more PowerShell so I recreated the script with PowerShell.
Previously in the Settings JAVA_HOME with batch post, I had created a script in bash to change my JAVA_HOME
env variable. Since then, I have been trying to use more and more PowerShell so I recreated the script with PowerShell.
The script has several options that providesprovide different functionalities:
The script has several options that provides different functionalities:
The script has several options that provide different functionalities:
- 2.5k
- 7
- 31
- 49
Previously in the Settings JAVA_HOME with batch post, I had created a script in bash to change my JAVA_HOME
env variable. Since then, I'mI have been trying to use more and more PowerShell so I recreated the script with PowerShell.
The script has several optionoptions that each doesprovides different things functionalities:
e
orecho
: output the current value ofJAVA_HOME
.s
orset
: option to change the current value ofJAVA_HOME
, you. You must provide the key you want to change to.a
oradd
: add a key value pair to the store file that you can later on changed to.l
orlist
: list the current value in the file.r
orremove
: remove the key-value pair from the store file.
Previously in Settings JAVA_HOME with batch I had created a script in bash to change my JAVA_HOME
env variable. Since then, I'm trying to use more and more PowerShell so I recreated the script with PowerShell.
The script has several option that each does different things :
e
orecho
: output the current value ofJAVA_HOME
.s
orset
: option to change the current value ofJAVA_HOME
, you must provide the key you want to change to.a
oradd
: add a key value pair to the store file that you can later on changed to.l
orlist
: list the current value in the file.r
orremove
: remove the key-value pair from the store file.
Previously in the Settings JAVA_HOME with batch post, I had created a script in bash to change my JAVA_HOME
env variable. Since then, I have been trying to use more and more PowerShell so I recreated the script with PowerShell.
The script has several options that provides different functionalities:
e
orecho
: output the current value ofJAVA_HOME
.s
orset
: option to change the current value ofJAVA_HOME
. You must provide the key you want to change to.a
oradd
: add a key value pair to the store file that you can later on changed to.l
orlist
: list the current value in the file.r
orremove
: remove the key-value pair from the store file.