I am new to powershell. how do you over write file in powershell? write now below code is appending. I want to completely over write file with below new info.
$someinfo | Add-Content $FileName
I am new to powershell. how do you over write file in powershell? write now below code is appending. I want to completely over write file with below new info.
$someinfo | Add-Content $FileName