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

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -