Can i use existing variables in powershell read-host
问题 i am writing a simple script in powershell using "read-host -prompt" so that i can input some text that will then be used to create some environment variables. Is there a way that the subsequent times the script is run, the read-host message will show an existing value for the variable if it exists ? and if not what i want then accept my new input to change that variable ? for example ... $myvar = read-host -prompt "whats your value" and i enter 10 to set $myvar value to 10 next time the