Use powershell to add text to a .conf file -


i tried add-content command add following lines .conf file didn't work, think reason didnt work because file not .txt file, .conf file.

[sslconfig]  sslversions = *,-ssl2,-ssl3  ciphersuite = tlsv1.2:!enull:!anull  allowsslrenegotiation = false 

is there way of adding additional lines end of .conf file using powershell?

"new line content" | out-file .\ssl.conf -append -encoding ascii 

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -