0

I want to Replace Filecontent in Powershell. The template is:

[user]  
    name = $Vorname $Nachname  
    email = $emailadresse
[credential]  
    helper = manager-core

I want to replace $Vorname, $Nachname, $emailadresse with values i create in the Powershellscript. I know how to read the content in but dont know how to replace it.

I tried diffrent methods but nothing worked.

mojo
  • 3
  • 3
  • See [`PowerShell ini`](https://stackoverflow.com/search?q=PowerShell+ini). Also check [how to ask](https://stackoverflow.com/help/how-to-ask) – iRon Oct 26 '22 at 12:27

0 Answers0